public static final class LabelSelector.Builder extends GeneratedMessageV3.Builder<LabelSelector.Builder> implements LabelSelectorOrBuilder
The label selector, used to group labels on the resources.Protobuf type
google.cloud.gaming.v1alpha.LabelSelector
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LabelSelector build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LabelSelector buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LabelSelector.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LabelSelector.Builder>
public LabelSelector.Builder mergeFrom(LabelSelector other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public LabelSelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<LabelSelector.Builder>
IOException
public int getLabelsCount()
LabelSelectorOrBuilder
Resource labels for this selector.
map<string, string> labels = 1;
getLabelsCount
in interface LabelSelectorOrBuilder
public boolean containsLabels(String key)
Resource labels for this selector.
map<string, string> labels = 1;
containsLabels
in interface LabelSelectorOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface LabelSelectorOrBuilder
public Map<String,String> getLabelsMap()
Resource labels for this selector.
map<string, string> labels = 1;
getLabelsMap
in interface LabelSelectorOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels for this selector.
map<string, string> labels = 1;
getLabelsOrDefault
in interface LabelSelectorOrBuilder
public String getLabelsOrThrow(String key)
Resource labels for this selector.
map<string, string> labels = 1;
getLabelsOrThrow
in interface LabelSelectorOrBuilder
public LabelSelector.Builder clearLabels()
public LabelSelector.Builder removeLabels(String key)
Resource labels for this selector.
map<string, string> labels = 1;
@Deprecated public Map<String,String> getMutableLabels()
public LabelSelector.Builder putLabels(String key, String value)
Resource labels for this selector.
map<string, string> labels = 1;
public LabelSelector.Builder putAllLabels(Map<String,String> values)
Resource labels for this selector.
map<string, string> labels = 1;
public final LabelSelector.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
public final LabelSelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LabelSelector.Builder>
Copyright © 2020 Google LLC. All rights reserved.