Class ClusterInfo (0.1.0)

public final class ClusterInfo extends GeneratedMessageV3 implements ClusterInfoOrBuilder

ClusterInfo represents status of a resource bundle rollout for a cluster.

Protobuf type google.cloud.configdelivery.v1beta.ClusterInfo

Static Fields

CURRENT_FIELD_NUMBER

public static final int CURRENT_FIELD_NUMBER
Field Value
Type Description
int

DESIRED_FIELD_NUMBER

public static final int DESIRED_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

INITIAL_FIELD_NUMBER

public static final int INITIAL_FIELD_NUMBER
Field Value
Type Description
int

MEMBERSHIP_FIELD_NUMBER

public static final int MEMBERSHIP_FIELD_NUMBER
Field Value
Type Description
int

MESSAGES_FIELD_NUMBER

public static final int MESSAGES_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClusterInfo getDefaultInstance()
Returns
Type Description
ClusterInfo

getDescriptor()

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

newBuilder()

public static ClusterInfo.Builder newBuilder()
Returns
Type Description
ClusterInfo.Builder

newBuilder(ClusterInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static ClusterInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ClusterInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClusterInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ClusterInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClusterInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ClusterInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClusterInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ClusterInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClusterInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ClusterInfo> parser()
Returns
Type Description
Parser<ClusterInfo>

Methods

equals(Object obj)

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

getCurrent()

public ResourceBundleDeploymentInfo getCurrent()

Output only. Current state of the resource bundle.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfo

The current.

getCurrentOrBuilder()

public ResourceBundleDeploymentInfoOrBuilder getCurrentOrBuilder()

Output only. Current state of the resource bundle.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfoOrBuilder

getDefaultInstanceForType()

public ClusterInfo getDefaultInstanceForType()
Returns
Type Description
ClusterInfo

getDesired()

public ResourceBundleDeploymentInfo getDesired()

Output only. Desired state for the resource bundle.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfo

The desired.

getDesiredOrBuilder()

public ResourceBundleDeploymentInfoOrBuilder getDesiredOrBuilder()

Output only. Desired state for the resource bundle.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfoOrBuilder

getEndTime()

public Timestamp getEndTime()

Output only. Timestamp when reconciliation ends.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. Timestamp when reconciliation ends.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getInitial()

public ResourceBundleDeploymentInfo getInitial()

Output only. Initial state of the resource bundle prior to the deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo initial = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfo

The initial.

getInitialOrBuilder()

public ResourceBundleDeploymentInfoOrBuilder getInitialOrBuilder()

Output only. Initial state of the resource bundle prior to the deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo initial = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfoOrBuilder

getMembership()

public String getMembership()

Output only. gkehub membership of target cluster

string membership = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The membership.

getMembershipBytes()

public ByteString getMembershipBytes()

Output only. gkehub membership of target cluster

string membership = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for membership.

getMessages(int index)

public String getMessages(int index)

Output only. Unordered list. Messages convey additional information related to the deployment.

repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The messages at the given index.

getMessagesBytes(int index)

public ByteString getMessagesBytes(int index)

Output only. Unordered list. Messages convey additional information related to the deployment.

repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the messages at the given index.

getMessagesCount()

public int getMessagesCount()

Output only. Unordered list. Messages convey additional information related to the deployment.

repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of messages.

getMessagesList()

public ProtocolStringList getMessagesList()

Output only. Unordered list. Messages convey additional information related to the deployment.

repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the messages.

getParserForType()

public Parser<ClusterInfo> getParserForType()
Returns
Type Description
Parser<ClusterInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. Timestamp when reconciliation starts.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Timestamp when reconciliation starts.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public ClusterInfo.State getState()

Output only. State of the rollout for the cluster.

.google.cloud.configdelivery.v1beta.ClusterInfo.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterInfo.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the rollout for the cluster.

.google.cloud.configdelivery.v1beta.ClusterInfo.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCurrent()

public boolean hasCurrent()

Output only. Current state of the resource bundle.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the current field is set.

hasDesired()

public boolean hasDesired()

Output only. Desired state for the resource bundle.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the desired field is set.

hasEndTime()

public boolean hasEndTime()

Output only. Timestamp when reconciliation ends.

.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasInitial()

public boolean hasInitial()

Output only. Initial state of the resource bundle prior to the deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo initial = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the initial field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Timestamp when reconciliation starts.

.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime 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 ClusterInfo.Builder newBuilderForType()
Returns
Type Description
ClusterInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ClusterInfo.Builder toBuilder()
Returns
Type Description
ClusterInfo.Builder

writeTo(CodedOutputStream output)

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