Package io.kubernetes.client.proto
Class V1.ScopedResourceSelectorRequirement.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
io.kubernetes.client.proto.V1.ScopedResourceSelectorRequirement.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.ScopedResourceSelectorRequirementOrBuilder,Cloneable
- Enclosing class:
- V1.ScopedResourceSelectorRequirement
public static final class V1.ScopedResourceSelectorRequirement.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
implements V1.ScopedResourceSelectorRequirementOrBuilder
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.Protobuf type
k8s.io.api.core.v1.ScopedResourceSelectorRequirement-
Method Summary
Modifier and TypeMethodDescriptionaddAllValues(Iterable<String> values) An array of string values.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) An array of string values.addValuesBytes(com.google.protobuf.ByteString value) An array of string values.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Represents a scope's relationship to a set of values.The name of the scope that the selector applies to.An array of string values.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRepresents a scope's relationship to a set of values.com.google.protobuf.ByteStringRepresents a scope's relationship to a set of values.The name of the scope that the selector applies to.com.google.protobuf.ByteStringThe name of the scope that the selector applies to.getValues(int index) An array of string values.com.google.protobuf.ByteStringgetValuesBytes(int index) An array of string values.intAn array of string values.com.google.protobuf.ProtocolStringListAn array of string values.booleanRepresents a scope's relationship to a set of values.booleanThe name of the scope that the selector applies to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setOperator(String value) Represents a scope's relationship to a set of values.setOperatorBytes(com.google.protobuf.ByteString value) Represents a scope's relationship to a set of values.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setScopeName(String value) The name of the scope that the selector applies to.setScopeNameBytes(com.google.protobuf.ByteString value) The name of the scope that the selector applies to.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) An array of string values.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.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.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
setField
public V1.ScopedResourceSelectorRequirement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
clearField
public V1.ScopedResourceSelectorRequirement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
clearOneof
public V1.ScopedResourceSelectorRequirement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
setRepeatedField
public V1.ScopedResourceSelectorRequirement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
addRepeatedField
public V1.ScopedResourceSelectorRequirement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
mergeFrom
public V1.ScopedResourceSelectorRequirement.Builder mergeFrom(V1.ScopedResourceSelectorRequirement other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
mergeFrom
public V1.ScopedResourceSelectorRequirement.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<V1.ScopedResourceSelectorRequirement.Builder>- Throws:
IOException
-
hasScopeName
public boolean hasScopeName()The name of the scope that the selector applies to.
optional string scopeName = 1;- Specified by:
hasScopeNamein interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
getScopeName
The name of the scope that the selector applies to.
optional string scopeName = 1;- Specified by:
getScopeNamein interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
getScopeNameBytes
public com.google.protobuf.ByteString getScopeNameBytes()The name of the scope that the selector applies to.
optional string scopeName = 1;- Specified by:
getScopeNameBytesin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
setScopeName
The name of the scope that the selector applies to.
optional string scopeName = 1; -
clearScopeName
The name of the scope that the selector applies to.
optional string scopeName = 1; -
setScopeNameBytes
public V1.ScopedResourceSelectorRequirement.Builder setScopeNameBytes(com.google.protobuf.ByteString value) The name of the scope that the selector applies to.
optional string scopeName = 1; -
hasOperator
public boolean hasOperator()Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;- Specified by:
hasOperatorin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
getOperator
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;- Specified by:
getOperatorin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
getOperatorBytes
public com.google.protobuf.ByteString getOperatorBytes()Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;- Specified by:
getOperatorBytesin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
setOperator
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2; -
clearOperator
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2; -
setOperatorBytes
public V1.ScopedResourceSelectorRequirement.Builder setOperatorBytes(com.google.protobuf.ByteString value) Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2; -
getValuesList
public com.google.protobuf.ProtocolStringList getValuesList()An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;- Specified by:
getValuesListin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
getValuesCount
public int getValuesCount()An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;- Specified by:
getValuesCountin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
getValues
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;- Specified by:
getValuesin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
getValuesBytes
public com.google.protobuf.ByteString getValuesBytes(int index) An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;- Specified by:
getValuesBytesin interfaceV1.ScopedResourceSelectorRequirementOrBuilder
-
setValues
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3; -
addValues
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3; -
addAllValues
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3; -
clearValues
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3; -
addValuesBytes
public V1.ScopedResourceSelectorRequirement.Builder addValuesBytes(com.google.protobuf.ByteString value) An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. +optional
repeated string values = 3; -
setUnknownFields
public final V1.ScopedResourceSelectorRequirement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-
mergeUnknownFields
public final V1.ScopedResourceSelectorRequirement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
-