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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttachedServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AttachedServerConfig.Builder addValidVersions(AttachedPlatformVersionInfo value)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
public AttachedServerConfig.Builder addValidVersions(AttachedPlatformVersionInfo.Builder builderForValue)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
public AttachedServerConfig.Builder addValidVersions(int index, AttachedPlatformVersionInfo value)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
public AttachedServerConfig.Builder addValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
addValidVersionsBuilder()
public AttachedPlatformVersionInfo.Builder addValidVersionsBuilder()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
addValidVersionsBuilder(int index)
public AttachedPlatformVersionInfo.Builder addValidVersionsBuilder(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter |
Name |
Description |
index |
int
|
build()
public AttachedServerConfig build()
buildPartial()
public AttachedServerConfig buildPartial()
clear()
public AttachedServerConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AttachedServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public AttachedServerConfig.Builder clearName()
The resource name of the config.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AttachedServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValidVersions()
public AttachedServerConfig.Builder clearValidVersions()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
clone()
public AttachedServerConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public AttachedServerConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
getValidVersions(int index)
public AttachedPlatformVersionInfo getValidVersions(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter |
Name |
Description |
index |
int
|
getValidVersionsBuilder(int index)
public AttachedPlatformVersionInfo.Builder getValidVersionsBuilder(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter |
Name |
Description |
index |
int
|
getValidVersionsBuilderList()
public List<AttachedPlatformVersionInfo.Builder> getValidVersionsBuilderList()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
getValidVersionsCount()
public int getValidVersionsCount()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Returns |
Type |
Description |
int |
|
getValidVersionsList()
public List<AttachedPlatformVersionInfo> getValidVersionsList()
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
getValidVersionsOrBuilder(int index)
public AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder(int index)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AttachedServerConfig other)
public AttachedServerConfig.Builder mergeFrom(AttachedServerConfig other)
public AttachedServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AttachedServerConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttachedServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public AttachedServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttachedServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AttachedServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AttachedServerConfig.Builder setValidVersions(int index, AttachedPlatformVersionInfo value)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
public AttachedServerConfig.Builder setValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)
List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;