public static final class AttachedServerConfig.Builder extends GeneratedMessage.Builder<AttachedServerConfig.Builder> implements AttachedServerConfigOrBuilderAttachedServerConfig provides information about supported Kubernetes versions
Protobuf type google.cloud.gkemulticloud.v1.AttachedServerConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AttachedServerConfig.BuilderImplements
AttachedServerConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllValidVersions(Iterable<? extends AttachedPlatformVersionInfo> values)
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 | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
addValidVersions(AttachedPlatformVersionInfo value)
public AttachedServerConfig.Builder addValidVersions(AttachedPlatformVersionInfo value)List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AttachedPlatformVersionInfo |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
addValidVersions(AttachedPlatformVersionInfo.Builder builderForValue)
public AttachedServerConfig.Builder addValidVersions(AttachedPlatformVersionInfo.Builder builderForValue)List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AttachedPlatformVersionInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
addValidVersions(int index, AttachedPlatformVersionInfo value)
public AttachedServerConfig.Builder addValidVersions(int index, AttachedPlatformVersionInfo value)List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttachedPlatformVersionInfo |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
addValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)
public AttachedServerConfig.Builder addValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttachedPlatformVersionInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
addValidVersionsBuilder()
public AttachedPlatformVersionInfo.Builder addValidVersionsBuilder()List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Returns | |
|---|---|
| Type | Description |
AttachedPlatformVersionInfo.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AttachedPlatformVersionInfo.Builder |
|
build()
public AttachedServerConfig build()| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig |
|
buildPartial()
public AttachedServerConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig |
|
clear()
public AttachedServerConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
clearName()
public AttachedServerConfig.Builder clearName()The resource name of the config.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
This builder for chaining. |
clearValidVersions()
public AttachedServerConfig.Builder clearValidVersions()List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
getDefaultInstanceForType()
public AttachedServerConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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 |
| Returns | |
|---|---|
| Type | Description |
AttachedPlatformVersionInfo |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AttachedPlatformVersionInfo.Builder |
|
getValidVersionsBuilderList()
public List<AttachedPlatformVersionInfo.Builder> getValidVersionsBuilderList()List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<AttachedPlatformVersionInfo> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AttachedPlatformVersionInfoOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AttachedServerConfig other)
public AttachedServerConfig.Builder mergeFrom(AttachedServerConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AttachedServerConfig |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttachedServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AttachedServerConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
setName(String value)
public AttachedServerConfig.Builder setName(String value)The resource name of the config.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AttachedServerConfig.Builder setNameBytes(ByteString value)The resource name of the config.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
This builder for chaining. |
setValidVersions(int index, AttachedPlatformVersionInfo value)
public AttachedServerConfig.Builder setValidVersions(int index, AttachedPlatformVersionInfo value)List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttachedPlatformVersionInfo |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|
setValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)
public AttachedServerConfig.Builder setValidVersions(int index, AttachedPlatformVersionInfo.Builder builderForValue)List of valid platform versions.
repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttachedPlatformVersionInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig.Builder |
|