Package com.google.cloud.osconfig.v1beta
Class PatchJobs.PatchInstanceFilter.GroupLabel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchInstanceFilter.GroupLabel.Builder>
com.google.cloud.osconfig.v1beta.PatchJobs.PatchInstanceFilter.GroupLabel.Builder
- All Implemented Interfaces:
PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PatchJobs.PatchInstanceFilter.GroupLabel
public static final class PatchJobs.PatchInstanceFilter.GroupLabel.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchInstanceFilter.GroupLabel.Builder>
implements PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder
Represents a group of VMs that can be identified as having all these labels, for example "env=prod and app=web".Protobuf type
google.cloud.osconfig.v1beta.PatchInstanceFilter.GroupLabel-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()booleancontainsLabels(String key) Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intCompute Engine instance labels that must be present for a VM instance to be targeted by this filter.Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.getLabelsOrDefault(String key, String defaultValue) Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.getLabelsOrThrow(String key) Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllLabels(Map<String, String> values) Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.removeLabels(String key) Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.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<PatchJobs.PatchInstanceFilter.GroupLabel.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchInstanceFilter.GroupLabel.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchInstanceFilter.GroupLabel.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<PatchJobs.PatchInstanceFilter.GroupLabel.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<PatchJobs.PatchInstanceFilter.GroupLabel.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
public PatchJobs.PatchInstanceFilter.GroupLabel.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchInstanceFilter.GroupLabel.Builder>
-
mergeFrom
public PatchJobs.PatchInstanceFilter.GroupLabel.Builder mergeFrom(PatchJobs.PatchInstanceFilter.GroupLabel other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.PatchInstanceFilter.GroupLabel.Builder>
-
mergeFrom
public PatchJobs.PatchInstanceFilter.GroupLabel.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<PatchJobs.PatchInstanceFilter.GroupLabel.Builder>- Throws:
IOException
-
getLabelsCount
public int getLabelsCount()Description copied from interface:PatchJobs.PatchInstanceFilter.GroupLabelOrBuilderCompute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1;- Specified by:
getLabelsCountin interfacePatchJobs.PatchInstanceFilter.GroupLabelOrBuilder
-
containsLabels
Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1;- Specified by:
containsLabelsin interfacePatchJobs.PatchInstanceFilter.GroupLabelOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfacePatchJobs.PatchInstanceFilter.GroupLabelOrBuilder
-
getLabelsMap
Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1;- Specified by:
getLabelsMapin interfacePatchJobs.PatchInstanceFilter.GroupLabelOrBuilder
-
getLabelsOrDefault
Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1;- Specified by:
getLabelsOrDefaultin interfacePatchJobs.PatchInstanceFilter.GroupLabelOrBuilder
-
getLabelsOrThrow
Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1;- Specified by:
getLabelsOrThrowin interfacePatchJobs.PatchInstanceFilter.GroupLabelOrBuilder
-
clearLabels
-
removeLabels
Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1; -
putAllLabels
Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
map<string, string> labels = 1;
-