public static final class K8sBetaAPIConfig.Builder extends GeneratedMessageV3.Builder<K8sBetaAPIConfig.Builder> implements K8sBetaAPIConfigOrBuilder
Kubernetes open source beta apis enabled on the cluster.
Protobuf type google.container.v1beta1.K8sBetaAPIConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllEnabledApis(Iterable<String> values)
public K8sBetaAPIConfig.Builder addAllEnabledApis(Iterable<String> values)
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
addEnabledApis(String value)
public K8sBetaAPIConfig.Builder addEnabledApis(String value)
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
Parameter |
---|
Name | Description |
value | String
The enabledApis to add.
|
addEnabledApisBytes(ByteString value)
public K8sBetaAPIConfig.Builder addEnabledApisBytes(ByteString value)
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes of the enabledApis to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public K8sBetaAPIConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public K8sBetaAPIConfig build()
buildPartial()
public K8sBetaAPIConfig buildPartial()
clear()
public K8sBetaAPIConfig.Builder clear()
Overrides
clearEnabledApis()
public K8sBetaAPIConfig.Builder clearEnabledApis()
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
clearField(Descriptors.FieldDescriptor field)
public K8sBetaAPIConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public K8sBetaAPIConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public K8sBetaAPIConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public K8sBetaAPIConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabledApis(int index)
public String getEnabledApis(int index)
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The enabledApis at the given index.
|
getEnabledApisBytes(int index)
public ByteString getEnabledApisBytes(int index)
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the enabledApis at the given index.
|
getEnabledApisCount()
public int getEnabledApisCount()
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
Returns |
---|
Type | Description |
int | The count of enabledApis.
|
getEnabledApisList()
public ProtocolStringList getEnabledApisList()
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(K8sBetaAPIConfig other)
public K8sBetaAPIConfig.Builder mergeFrom(K8sBetaAPIConfig other)
public K8sBetaAPIConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public K8sBetaAPIConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final K8sBetaAPIConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnabledApis(int index, String value)
public K8sBetaAPIConfig.Builder setEnabledApis(int index, String value)
api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
repeated string enabled_apis = 1;
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | String
The enabledApis to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public K8sBetaAPIConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public K8sBetaAPIConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final K8sBetaAPIConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides