- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class SoleTenantConfig.NodeAffinity.Builder extends GeneratedMessageV3.Builder<SoleTenantConfig.NodeAffinity.Builder> implements SoleTenantConfig.NodeAffinityOrBuilder
Specifies the NodeAffinity key, values, and affinity operator according to shared sole tenant node group affinities.
Protobuf type google.container.v1beta1.SoleTenantConfig.NodeAffinity
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SoleTenantConfig.NodeAffinity.BuilderImplements
SoleTenantConfig.NodeAffinityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllValues(Iterable<String> values)
public SoleTenantConfig.NodeAffinity.Builder addAllValues(Iterable<String> values)
Values for NodeAffinity.
repeated string values = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The values to add. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SoleTenantConfig.NodeAffinity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
addValues(String value)
public SoleTenantConfig.NodeAffinity.Builder addValues(String value)
Values for NodeAffinity.
repeated string values = 3;
Parameter | |
---|---|
Name | Description |
value |
String The values to add. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
addValuesBytes(ByteString value)
public SoleTenantConfig.NodeAffinity.Builder addValuesBytes(ByteString value)
Values for NodeAffinity.
repeated string values = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the values to add. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
build()
public SoleTenantConfig.NodeAffinity build()
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity |
buildPartial()
public SoleTenantConfig.NodeAffinity buildPartial()
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity |
clear()
public SoleTenantConfig.NodeAffinity.Builder clear()
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
clearField(Descriptors.FieldDescriptor field)
public SoleTenantConfig.NodeAffinity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
clearKey()
public SoleTenantConfig.NodeAffinity.Builder clearKey()
Key for NodeAffinity.
string key = 1;
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SoleTenantConfig.NodeAffinity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
clearOperator()
public SoleTenantConfig.NodeAffinity.Builder clearOperator()
Operator for NodeAffinity.
.google.container.v1beta1.SoleTenantConfig.NodeAffinity.Operator operator = 2;
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
clearValues()
public SoleTenantConfig.NodeAffinity.Builder clearValues()
Values for NodeAffinity.
repeated string values = 3;
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
clone()
public SoleTenantConfig.NodeAffinity.Builder clone()
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
getDefaultInstanceForType()
public SoleTenantConfig.NodeAffinity getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKey()
public String getKey()
Key for NodeAffinity.
string key = 1;
Returns | |
---|---|
Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()
Key for NodeAffinity.
string key = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for key. |
getOperator()
public SoleTenantConfig.NodeAffinity.Operator getOperator()
Operator for NodeAffinity.
.google.container.v1beta1.SoleTenantConfig.NodeAffinity.Operator operator = 2;
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Operator |
The operator. |
getOperatorValue()
public int getOperatorValue()
Operator for NodeAffinity.
.google.container.v1beta1.SoleTenantConfig.NodeAffinity.Operator operator = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for operator. |
getValues(int index)
public String getValues(int index)
Values for NodeAffinity.
repeated string values = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The values at the given index. |
getValuesBytes(int index)
public ByteString getValuesBytes(int index)
Values for NodeAffinity.
repeated string values = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the values at the given index. |
getValuesCount()
public int getValuesCount()
Values for NodeAffinity.
repeated string values = 3;
Returns | |
---|---|
Type | Description |
int |
The count of values. |
getValuesList()
public ProtocolStringList getValuesList()
Values for NodeAffinity.
repeated string values = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the values. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SoleTenantConfig.NodeAffinity other)
public SoleTenantConfig.NodeAffinity.Builder mergeFrom(SoleTenantConfig.NodeAffinity other)
Parameter | |
---|---|
Name | Description |
other |
SoleTenantConfig.NodeAffinity |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SoleTenantConfig.NodeAffinity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SoleTenantConfig.NodeAffinity.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SoleTenantConfig.NodeAffinity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SoleTenantConfig.NodeAffinity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
setKey(String value)
public SoleTenantConfig.NodeAffinity.Builder setKey(String value)
Key for NodeAffinity.
string key = 1;
Parameter | |
---|---|
Name | Description |
value |
String The key to set. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public SoleTenantConfig.NodeAffinity.Builder setKeyBytes(ByteString value)
Key for NodeAffinity.
string key = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for key to set. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
setOperator(SoleTenantConfig.NodeAffinity.Operator value)
public SoleTenantConfig.NodeAffinity.Builder setOperator(SoleTenantConfig.NodeAffinity.Operator value)
Operator for NodeAffinity.
.google.container.v1beta1.SoleTenantConfig.NodeAffinity.Operator operator = 2;
Parameter | |
---|---|
Name | Description |
value |
SoleTenantConfig.NodeAffinity.Operator The operator to set. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
setOperatorValue(int value)
public SoleTenantConfig.NodeAffinity.Builder setOperatorValue(int value)
Operator for NodeAffinity.
.google.container.v1beta1.SoleTenantConfig.NodeAffinity.Operator operator = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for operator to set. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SoleTenantConfig.NodeAffinity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SoleTenantConfig.NodeAffinity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
setValues(int index, String value)
public SoleTenantConfig.NodeAffinity.Builder setValues(int index, String value)
Values for NodeAffinity.
repeated string values = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The values to set. |
Returns | |
---|---|
Type | Description |
SoleTenantConfig.NodeAffinity.Builder |
This builder for chaining. |