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
Modifier and Type | Method and Description |
---|---|
V1.ScopedResourceSelectorRequirement.Builder |
addAllValues(Iterable<String> values)
An array of string values.
|
V1.ScopedResourceSelectorRequirement.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ScopedResourceSelectorRequirement.Builder |
addValues(String value)
An array of string values.
|
V1.ScopedResourceSelectorRequirement.Builder |
addValuesBytes(com.google.protobuf.ByteString value)
An array of string values.
|
V1.ScopedResourceSelectorRequirement |
build() |
V1.ScopedResourceSelectorRequirement |
buildPartial() |
V1.ScopedResourceSelectorRequirement.Builder |
clear() |
V1.ScopedResourceSelectorRequirement.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.ScopedResourceSelectorRequirement.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.ScopedResourceSelectorRequirement.Builder |
clearOperator()
Represents a scope's relationship to a set of values.
|
V1.ScopedResourceSelectorRequirement.Builder |
clearScopeName()
The name of the scope that the selector applies to.
|
V1.ScopedResourceSelectorRequirement.Builder |
clearValues()
An array of string values.
|
V1.ScopedResourceSelectorRequirement.Builder |
clone() |
V1.ScopedResourceSelectorRequirement |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getOperator()
Represents a scope's relationship to a set of values.
|
com.google.protobuf.ByteString |
getOperatorBytes()
Represents a scope's relationship to a set of values.
|
String |
getScopeName()
The name of the scope that the selector applies to.
|
com.google.protobuf.ByteString |
getScopeNameBytes()
The name of the scope that the selector applies to.
|
String |
getValues(int index)
An array of string values.
|
com.google.protobuf.ByteString |
getValuesBytes(int index)
An array of string values.
|
int |
getValuesCount()
An array of string values.
|
com.google.protobuf.ProtocolStringList |
getValuesList()
An array of string values.
|
boolean |
hasOperator()
Represents a scope's relationship to a set of values.
|
boolean |
hasScopeName()
The name of the scope that the selector applies to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.ScopedResourceSelectorRequirement.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.ScopedResourceSelectorRequirement.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.ScopedResourceSelectorRequirement.Builder |
mergeFrom(V1.ScopedResourceSelectorRequirement other) |
V1.ScopedResourceSelectorRequirement.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.ScopedResourceSelectorRequirement.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ScopedResourceSelectorRequirement.Builder |
setOperator(String value)
Represents a scope's relationship to a set of values.
|
V1.ScopedResourceSelectorRequirement.Builder |
setOperatorBytes(com.google.protobuf.ByteString value)
Represents a scope's relationship to a set of values.
|
V1.ScopedResourceSelectorRequirement.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.ScopedResourceSelectorRequirement.Builder |
setScopeName(String value)
The name of the scope that the selector applies to.
|
V1.ScopedResourceSelectorRequirement.Builder |
setScopeNameBytes(com.google.protobuf.ByteString value)
The name of the scope that the selector applies to.
|
V1.ScopedResourceSelectorRequirement.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.ScopedResourceSelectorRequirement.Builder |
setValues(int index,
String value)
An array of string values.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1.ScopedResourceSelectorRequirement build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1.ScopedResourceSelectorRequirement buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1.ScopedResourceSelectorRequirement.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder mergeFrom(V1.ScopedResourceSelectorRequirement other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public V1.ScopedResourceSelectorRequirement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1.ScopedResourceSelectorRequirement.Builder>
IOException
public boolean hasScopeName()
The name of the scope that the selector applies to.
optional string scopeName = 1;
hasScopeName
in interface V1.ScopedResourceSelectorRequirementOrBuilder
public String getScopeName()
The name of the scope that the selector applies to.
optional string scopeName = 1;
getScopeName
in interface V1.ScopedResourceSelectorRequirementOrBuilder
public com.google.protobuf.ByteString getScopeNameBytes()
The name of the scope that the selector applies to.
optional string scopeName = 1;
getScopeNameBytes
in interface V1.ScopedResourceSelectorRequirementOrBuilder
public V1.ScopedResourceSelectorRequirement.Builder setScopeName(String value)
The name of the scope that the selector applies to.
optional string scopeName = 1;
public V1.ScopedResourceSelectorRequirement.Builder clearScopeName()
The name of the scope that the selector applies to.
optional string scopeName = 1;
public V1.ScopedResourceSelectorRequirement.Builder setScopeNameBytes(com.google.protobuf.ByteString value)
The name of the scope that the selector applies to.
optional string scopeName = 1;
public boolean hasOperator()
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;
hasOperator
in interface V1.ScopedResourceSelectorRequirementOrBuilder
public String getOperator()
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;
getOperator
in interface V1.ScopedResourceSelectorRequirementOrBuilder
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;
getOperatorBytes
in interface V1.ScopedResourceSelectorRequirementOrBuilder
public V1.ScopedResourceSelectorRequirement.Builder setOperator(String value)
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;
public V1.ScopedResourceSelectorRequirement.Builder clearOperator()
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;
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;
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;
getValuesList
in interface V1.ScopedResourceSelectorRequirementOrBuilder
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;
getValuesCount
in interface V1.ScopedResourceSelectorRequirementOrBuilder
public String getValues(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;
getValues
in interface V1.ScopedResourceSelectorRequirementOrBuilder
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;
getValuesBytes
in interface V1.ScopedResourceSelectorRequirementOrBuilder
public V1.ScopedResourceSelectorRequirement.Builder setValues(int index, String 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;
public V1.ScopedResourceSelectorRequirement.Builder addValues(String 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;
public V1.ScopedResourceSelectorRequirement.Builder addAllValues(Iterable<String> values)
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;
public V1.ScopedResourceSelectorRequirement.Builder 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;
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;
public final V1.ScopedResourceSelectorRequirement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
public final V1.ScopedResourceSelectorRequirement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScopedResourceSelectorRequirement.Builder>
Copyright © 2021. All rights reserved.