Class AttachedPlatformVersionInfo.Builder (0.80.0)

public static final class AttachedPlatformVersionInfo.Builder extends GeneratedMessageV3.Builder<AttachedPlatformVersionInfo.Builder> implements AttachedPlatformVersionInfoOrBuilder

Information about a supported Attached Clusters platform version.

Protobuf type google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttachedPlatformVersionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

build()

public AttachedPlatformVersionInfo build()
Returns
Type Description
AttachedPlatformVersionInfo

buildPartial()

public AttachedPlatformVersionInfo buildPartial()
Returns
Type Description
AttachedPlatformVersionInfo

clear()

public AttachedPlatformVersionInfo.Builder clear()
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

clearEnabled()

public AttachedPlatformVersionInfo.Builder clearEnabled()

Optional. True if the version is available for attachedcluster creation. If a version is enabled, it can be used to attach new clusters.

bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedPlatformVersionInfo.Builder

This builder for chaining.

clearEndOfLife()

public AttachedPlatformVersionInfo.Builder clearEndOfLife()

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedPlatformVersionInfo.Builder

This builder for chaining.

clearEndOfLifeDate()

public AttachedPlatformVersionInfo.Builder clearEndOfLifeDate()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedPlatformVersionInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public AttachedPlatformVersionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AttachedPlatformVersionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

clearReleaseDate()

public AttachedPlatformVersionInfo.Builder clearReleaseDate()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedPlatformVersionInfo.Builder

clearVersion()

public AttachedPlatformVersionInfo.Builder clearVersion()

Platform version name.

string version = 1;

Returns
Type Description
AttachedPlatformVersionInfo.Builder

This builder for chaining.

clone()

public AttachedPlatformVersionInfo.Builder clone()
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

getDefaultInstanceForType()

public AttachedPlatformVersionInfo getDefaultInstanceForType()
Returns
Type Description
AttachedPlatformVersionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Optional. True if the version is available for attachedcluster creation. If a version is enabled, it can be used to attach new clusters.

bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

getEndOfLife()

public boolean getEndOfLife()

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The endOfLife.

getEndOfLifeDate()

public Date getEndOfLifeDate()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The endOfLifeDate.

getEndOfLifeDateBuilder()

public Date.Builder getEndOfLifeDateBuilder()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date.Builder

getEndOfLifeDateOrBuilder()

public DateOrBuilder getEndOfLifeDateOrBuilder()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getReleaseDate()

public Date getReleaseDate()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The releaseDate.

getReleaseDateBuilder()

public Date.Builder getReleaseDateBuilder()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date.Builder

getReleaseDateOrBuilder()

public DateOrBuilder getReleaseDateOrBuilder()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getVersion()

public String getVersion()

Platform version name.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Platform version name.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

hasEndOfLifeDate()

public boolean hasEndOfLifeDate()

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endOfLifeDate field is set.

hasReleaseDate()

public boolean hasReleaseDate()

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the releaseDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndOfLifeDate(Date value)

public AttachedPlatformVersionInfo.Builder mergeEndOfLifeDate(Date value)

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
AttachedPlatformVersionInfo.Builder

mergeFrom(AttachedPlatformVersionInfo other)

public AttachedPlatformVersionInfo.Builder mergeFrom(AttachedPlatformVersionInfo other)
Parameter
Name Description
other AttachedPlatformVersionInfo
Returns
Type Description
AttachedPlatformVersionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttachedPlatformVersionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AttachedPlatformVersionInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

mergeReleaseDate(Date value)

public AttachedPlatformVersionInfo.Builder mergeReleaseDate(Date value)

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
AttachedPlatformVersionInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttachedPlatformVersionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

setEnabled(boolean value)

public AttachedPlatformVersionInfo.Builder setEnabled(boolean value)

Optional. True if the version is available for attachedcluster creation. If a version is enabled, it can be used to attach new clusters.

bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
AttachedPlatformVersionInfo.Builder

This builder for chaining.

setEndOfLife(boolean value)

public AttachedPlatformVersionInfo.Builder setEndOfLife(boolean value)

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The endOfLife to set.

Returns
Type Description
AttachedPlatformVersionInfo.Builder

This builder for chaining.

setEndOfLifeDate(Date value)

public AttachedPlatformVersionInfo.Builder setEndOfLifeDate(Date value)

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
AttachedPlatformVersionInfo.Builder

setEndOfLifeDate(Date.Builder builderForValue)

public AttachedPlatformVersionInfo.Builder setEndOfLifeDate(Date.Builder builderForValue)

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

.google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
AttachedPlatformVersionInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AttachedPlatformVersionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

setReleaseDate(Date value)

public AttachedPlatformVersionInfo.Builder setReleaseDate(Date value)

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
AttachedPlatformVersionInfo.Builder

setReleaseDate(Date.Builder builderForValue)

public AttachedPlatformVersionInfo.Builder setReleaseDate(Date.Builder builderForValue)

Optional. The date (in Pacific Time) when the cluster version was released.

.google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
AttachedPlatformVersionInfo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AttachedPlatformVersionInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttachedPlatformVersionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttachedPlatformVersionInfo.Builder
Overrides

setVersion(String value)

public AttachedPlatformVersionInfo.Builder setVersion(String value)

Platform version name.

string version = 1;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
AttachedPlatformVersionInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AttachedPlatformVersionInfo.Builder setVersionBytes(ByteString value)

Platform version name.

string version = 1;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
AttachedPlatformVersionInfo.Builder

This builder for chaining.