Class Cluster.TrialMetadata.Builder (0.43.0)

public static final class Cluster.TrialMetadata.Builder extends GeneratedMessageV3.Builder<Cluster.TrialMetadata.Builder> implements Cluster.TrialMetadataOrBuilder

Contains information and all metadata related to TRIAL clusters.

Protobuf type google.cloud.alloydb.v1alpha.Cluster.TrialMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Cluster.TrialMetadata build()
Returns
Type Description
Cluster.TrialMetadata

buildPartial()

public Cluster.TrialMetadata buildPartial()
Returns
Type Description
Cluster.TrialMetadata

clear()

public Cluster.TrialMetadata.Builder clear()
Returns
Type Description
Cluster.TrialMetadata.Builder
Overrides

clearEndTime()

public Cluster.TrialMetadata.Builder clearEndTime()

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Cluster.TrialMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGraceEndTime()

public Cluster.TrialMetadata.Builder clearGraceEndTime()

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Returns
Type Description
Cluster.TrialMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public Cluster.TrialMetadata.Builder clearStartTime()

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Cluster.TrialMetadata.Builder

clearUpgradeTime()

public Cluster.TrialMetadata.Builder clearUpgradeTime()

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Returns
Type Description
Cluster.TrialMetadata.Builder

clone()

public Cluster.TrialMetadata.Builder clone()
Returns
Type Description
Cluster.TrialMetadata.Builder
Overrides

getDefaultInstanceForType()

public Cluster.TrialMetadata getDefaultInstanceForType()
Returns
Type Description
Cluster.TrialMetadata

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getGraceEndTime()

public Timestamp getGraceEndTime()

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Returns
Type Description
Timestamp

The graceEndTime.

getGraceEndTimeBuilder()

public Timestamp.Builder getGraceEndTimeBuilder()

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Returns
Type Description
Builder

getGraceEndTimeOrBuilder()

public TimestampOrBuilder getGraceEndTimeOrBuilder()

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getUpgradeTime()

public Timestamp getUpgradeTime()

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Returns
Type Description
Timestamp

The upgradeTime.

getUpgradeTimeBuilder()

public Timestamp.Builder getUpgradeTimeBuilder()

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Returns
Type Description
Builder

getUpgradeTimeOrBuilder()

public TimestampOrBuilder getUpgradeTimeOrBuilder()

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasGraceEndTime()

public boolean hasGraceEndTime()

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Returns
Type Description
boolean

Whether the graceEndTime field is set.

hasStartTime()

public boolean hasStartTime()

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

hasUpgradeTime()

public boolean hasUpgradeTime()

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Returns
Type Description
boolean

Whether the upgradeTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public Cluster.TrialMetadata.Builder mergeEndTime(Timestamp value)

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

mergeFrom(Cluster.TrialMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGraceEndTime(Timestamp value)

public Cluster.TrialMetadata.Builder mergeGraceEndTime(Timestamp value)

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

mergeStartTime(Timestamp value)

public Cluster.TrialMetadata.Builder mergeStartTime(Timestamp value)

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpgradeTime(Timestamp value)

public Cluster.TrialMetadata.Builder mergeUpgradeTime(Timestamp value)

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

setEndTime(Timestamp value)

public Cluster.TrialMetadata.Builder setEndTime(Timestamp value)

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public Cluster.TrialMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Cluster.TrialMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGraceEndTime(Timestamp value)

public Cluster.TrialMetadata.Builder setGraceEndTime(Timestamp value)

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

setGraceEndTime(Timestamp.Builder builderForValue)

public Cluster.TrialMetadata.Builder setGraceEndTime(Timestamp.Builder builderForValue)

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Cluster.TrialMetadata.Builder

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

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

setStartTime(Timestamp value)

public Cluster.TrialMetadata.Builder setStartTime(Timestamp value)

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public Cluster.TrialMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Cluster.TrialMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpgradeTime(Timestamp value)

public Cluster.TrialMetadata.Builder setUpgradeTime(Timestamp value)

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.TrialMetadata.Builder

setUpgradeTime(Timestamp.Builder builderForValue)

public Cluster.TrialMetadata.Builder setUpgradeTime(Timestamp.Builder builderForValue)

Upgrade time of trial cluster to Standard cluster.

.google.protobuf.Timestamp upgrade_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Cluster.TrialMetadata.Builder