public static final class AttachedServerConfig.Builder extends GeneratedMessageV3.Builder<AttachedServerConfig.Builder> implements AttachedServerConfigOrBuilder
AttachedServerConfig provides information about supported
Kubernetes versions
Protobuf type google.cloud.gkemulticloud.v1.AttachedServerConfig
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()
Returns
Methods
public AttachedServerConfig.Builder addAllValidVersions(Iterable<? extends AttachedPlatformVersionInfo> values)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttachedServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AttachedServerConfig.Builder addValidVersions(AttachedPlatformVersionInfo value)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Returns
public AttachedServerConfig.Builder addValidVersions(AttachedPlatformVersionInfo.Builder builderForValue)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Returns
public AttachedServerConfig.Builder addValidVersions(int index, AttachedPlatformVersionInfo value)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameters
Returns
public AttachedServerConfig.Builder addValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameters
Returns
addValidVersionsBuilder()
public AttachedPlatformVersionInfo.Builder addValidVersionsBuilder()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Returns
addValidVersionsBuilder(int index)
public AttachedPlatformVersionInfo.Builder addValidVersionsBuilder(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Returns
build()
public AttachedServerConfig build()
Returns
buildPartial()
public AttachedServerConfig buildPartial()
Returns
clear()
public AttachedServerConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AttachedServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public AttachedServerConfig.Builder clearName()
The resource name of the config.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AttachedServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValidVersions()
public AttachedServerConfig.Builder clearValidVersions()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Returns
clone()
public AttachedServerConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AttachedServerConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The resource name of the config.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The resource name of the config.
string name = 1;
Returns
getValidVersions(int index)
public AttachedPlatformVersionInfo getValidVersions(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Returns
getValidVersionsBuilder(int index)
public AttachedPlatformVersionInfo.Builder getValidVersionsBuilder(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Returns
getValidVersionsBuilderList()
public List<AttachedPlatformVersionInfo.Builder> getValidVersionsBuilderList()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Returns
getValidVersionsCount()
public int getValidVersionsCount()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Returns
getValidVersionsList()
public List<AttachedPlatformVersionInfo> getValidVersionsList()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Returns
getValidVersionsOrBuilder(int index)
public AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Returns
getValidVersionsOrBuilderList()
public List<? extends AttachedPlatformVersionInfoOrBuilder> getValidVersionsOrBuilderList()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Returns
Type | Description |
List<? extends com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AttachedServerConfig other)
public AttachedServerConfig.Builder mergeFrom(AttachedServerConfig other)
Parameter
Returns
public AttachedServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AttachedServerConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttachedServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeValidVersions(int index)
public AttachedServerConfig.Builder removeValidVersions(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AttachedServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public AttachedServerConfig.Builder setName(String value)
The resource name of the config.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public AttachedServerConfig.Builder setNameBytes(ByteString value)
The resource name of the config.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttachedServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AttachedServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AttachedServerConfig.Builder setValidVersions(int index, AttachedPlatformVersionInfo value)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameters
Returns
public AttachedServerConfig.Builder setValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameters
Returns