Class Fleet.LabelSelector.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
com.google.cloud.configdelivery.v1beta.Fleet.LabelSelector.Builder
- All Implemented Interfaces:
Fleet.LabelSelectorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Fleet.LabelSelector
public static final class Fleet.LabelSelector.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
implements Fleet.LabelSelectorOrBuilder
A label selector is a label query over a set of resources. An empty label selector matches all objects.Protobuf type
google.cloud.configdelivery.v1beta.Fleet.LabelSelector-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()booleanOptional. match_labels is a map of {key,value} pairs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intOptional. match_labels is a map of {key,value} pairs.Optional. match_labels is a map of {key,value} pairs.getMatchLabelsOrDefault(String key, String defaultValue) Optional. match_labels is a map of {key,value} pairs.Optional. match_labels is a map of {key,value} pairs.Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(Fleet.LabelSelector other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllMatchLabels(Map<String, String> values) Optional. match_labels is a map of {key,value} pairs.putMatchLabels(String key, String value) Optional. match_labels is a map of {key,value} pairs.removeMatchLabels(String key) Optional. match_labels is a map of {key,value} pairs.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Fleet.LabelSelector.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Fleet.LabelSelector.Builder>
-
mergeFrom
public Fleet.LabelSelector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Fleet.LabelSelector.Builder>- Throws:
IOException
-
getMatchLabelsCount
public int getMatchLabelsCount()Description copied from interface:Fleet.LabelSelectorOrBuilderOptional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMatchLabelsCountin interfaceFleet.LabelSelectorOrBuilder
-
containsMatchLabels
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsMatchLabelsin interfaceFleet.LabelSelectorOrBuilder
-
getMatchLabels
Deprecated.UsegetMatchLabelsMap()instead.- Specified by:
getMatchLabelsin interfaceFleet.LabelSelectorOrBuilder
-
getMatchLabelsMap
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMatchLabelsMapin interfaceFleet.LabelSelectorOrBuilder
-
getMatchLabelsOrDefault
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMatchLabelsOrDefaultin interfaceFleet.LabelSelectorOrBuilder
-
getMatchLabelsOrThrow
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMatchLabelsOrThrowin interfaceFleet.LabelSelectorOrBuilder
-
clearMatchLabels
-
removeMatchLabels
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableMatchLabels
Deprecated.Use alternate mutation accessors instead. -
putMatchLabels
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
putAllMatchLabels
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.map<string, string> match_labels = 1 [(.google.api.field_behavior) = OPTIONAL];
-