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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClusterInfo.Builder newBuilder()
newBuilder(ClusterInfo prototype)
public static ClusterInfo.Builder newBuilder(ClusterInfo prototype)
public static ClusterInfo parseDelimitedFrom(InputStream input)
public static ClusterInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClusterInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClusterInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterInfo parseFrom(CodedInputStream input)
public static ClusterInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterInfo parseFrom(InputStream input)
public static ClusterInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClusterInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClusterInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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];
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];
getDefaultInstanceForType()
public ClusterInfo getDefaultInstanceForType()
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];
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];
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];
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];
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];
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];
getParserForType()
public Parser<ClusterInfo> getParserForType()
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClusterInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ClusterInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides