Class Cluster.TrialMetadata (0.42.0)

public static final class Cluster.TrialMetadata extends GeneratedMessageV3 implements Cluster.TrialMetadataOrBuilder

Contains information and all metadata related to TRIAL clusters.

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

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

GRACE_END_TIME_FIELD_NUMBER

public static final int GRACE_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

UPGRADE_TIME_FIELD_NUMBER

public static final int UPGRADE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Cluster.TrialMetadata getDefaultInstance()
Returns
Type Description
Cluster.TrialMetadata

getDescriptor()

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

newBuilder()

public static Cluster.TrialMetadata.Builder newBuilder()
Returns
Type Description
Cluster.TrialMetadata.Builder

newBuilder(Cluster.TrialMetadata prototype)

public static Cluster.TrialMetadata.Builder newBuilder(Cluster.TrialMetadata prototype)
Parameter
Name Description
prototype Cluster.TrialMetadata
Returns
Type Description
Cluster.TrialMetadata.Builder

parseDelimitedFrom(InputStream input)

public static Cluster.TrialMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.TrialMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Cluster.TrialMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Cluster.TrialMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Cluster.TrialMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Cluster.TrialMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Cluster.TrialMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.TrialMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Cluster.TrialMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.TrialMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Cluster.TrialMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Cluster.TrialMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.TrialMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Cluster.TrialMetadata> parser()
Returns
Type Description
Parser<TrialMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getEndTime()

public Timestamp getEndTime()

End time of the trial cluster.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

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.

getGraceEndTimeOrBuilder()

public TimestampOrBuilder getGraceEndTimeOrBuilder()

grace end time of the cluster.

.google.protobuf.Timestamp grace_end_time = 4;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<Cluster.TrialMetadata> getParserForType()
Returns
Type Description
Parser<TrialMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

start time of the trial cluster.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Cluster.TrialMetadata.Builder newBuilderForType()
Returns
Type Description
Cluster.TrialMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Cluster.TrialMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Cluster.TrialMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Cluster.TrialMetadata.Builder toBuilder()
Returns
Type Description
Cluster.TrialMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException