public static final class ClusterInfo.Builder extends GeneratedMessageV3.Builder<ClusterInfo.Builder> implements ClusterInfoOrBuilder
ClusterInfo represents status of a resource bundle rollout for a cluster.
Protobuf type google.cloud.configdelivery.v1beta.ClusterInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClusterInfo.BuilderImplements
ClusterInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllMessages(Iterable<String> values)
public ClusterInfo.Builder addAllMessages(Iterable<String> values)
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 |
values |
Iterable<String> The messages to add. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
addMessages(String value)
public ClusterInfo.Builder addMessages(String value)
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 |
value |
String The messages to add. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
addMessagesBytes(ByteString value)
public ClusterInfo.Builder addMessagesBytes(ByteString value)
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 |
value |
ByteString The bytes of the messages to add. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClusterInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
build()
public ClusterInfo build()
Returns | |
---|---|
Type | Description |
ClusterInfo |
buildPartial()
public ClusterInfo buildPartial()
Returns | |
---|---|
Type | Description |
ClusterInfo |
clear()
public ClusterInfo.Builder clear()
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearCurrent()
public ClusterInfo.Builder clearCurrent()
Output only. Current state of the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearDesired()
public ClusterInfo.Builder clearDesired()
Output only. Desired state for the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearEndTime()
public ClusterInfo.Builder clearEndTime()
Output only. Timestamp when reconciliation ends.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public ClusterInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearInitial()
public ClusterInfo.Builder clearInitial()
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 |
ClusterInfo.Builder |
clearMembership()
public ClusterInfo.Builder clearMembership()
Output only. gkehub membership of target cluster
string membership = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
clearMessages()
public ClusterInfo.Builder clearMessages()
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 |
ClusterInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearStartTime()
public ClusterInfo.Builder clearStartTime()
Output only. Timestamp when reconciliation starts.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
clearState()
public ClusterInfo.Builder clearState()
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.Builder |
This builder for chaining. |
clone()
public ClusterInfo.Builder clone()
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
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. |
getCurrentBuilder()
public ResourceBundleDeploymentInfo.Builder getCurrentBuilder()
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.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getDesiredBuilder()
public ResourceBundleDeploymentInfo.Builder getDesiredBuilder()
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.Builder |
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. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. Timestamp when reconciliation ends.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
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. |
getInitialBuilder()
public ResourceBundleDeploymentInfo.Builder getInitialBuilder()
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.Builder |
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. |
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. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. Timestamp when reconciliation starts.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCurrent(ResourceBundleDeploymentInfo value)
public ClusterInfo.Builder mergeCurrent(ResourceBundleDeploymentInfo value)
Output only. Current state of the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ResourceBundleDeploymentInfo |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeDesired(ResourceBundleDeploymentInfo value)
public ClusterInfo.Builder mergeDesired(ResourceBundleDeploymentInfo value)
Output only. Desired state for the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ResourceBundleDeploymentInfo |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeEndTime(Timestamp value)
public ClusterInfo.Builder mergeEndTime(Timestamp value)
Output only. Timestamp when reconciliation ends.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeFrom(ClusterInfo other)
public ClusterInfo.Builder mergeFrom(ClusterInfo other)
Parameter | |
---|---|
Name | Description |
other |
ClusterInfo |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClusterInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ClusterInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeInitial(ResourceBundleDeploymentInfo value)
public ClusterInfo.Builder mergeInitial(ResourceBundleDeploymentInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
ResourceBundleDeploymentInfo |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeStartTime(Timestamp value)
public ClusterInfo.Builder mergeStartTime(Timestamp value)
Output only. Timestamp when reconciliation starts.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setCurrent(ResourceBundleDeploymentInfo value)
public ClusterInfo.Builder setCurrent(ResourceBundleDeploymentInfo value)
Output only. Current state of the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ResourceBundleDeploymentInfo |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setCurrent(ResourceBundleDeploymentInfo.Builder builderForValue)
public ClusterInfo.Builder setCurrent(ResourceBundleDeploymentInfo.Builder builderForValue)
Output only. Current state of the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceBundleDeploymentInfo.Builder |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setDesired(ResourceBundleDeploymentInfo value)
public ClusterInfo.Builder setDesired(ResourceBundleDeploymentInfo value)
Output only. Desired state for the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ResourceBundleDeploymentInfo |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setDesired(ResourceBundleDeploymentInfo.Builder builderForValue)
public ClusterInfo.Builder setDesired(ResourceBundleDeploymentInfo.Builder builderForValue)
Output only. Desired state for the resource bundle.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceBundleDeploymentInfo.Builder |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setEndTime(Timestamp value)
public ClusterInfo.Builder setEndTime(Timestamp value)
Output only. Timestamp when reconciliation ends.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setEndTime(Timestamp.Builder builderForValue)
public ClusterInfo.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. Timestamp when reconciliation ends.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ClusterInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setInitial(ResourceBundleDeploymentInfo value)
public ClusterInfo.Builder setInitial(ResourceBundleDeploymentInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
ResourceBundleDeploymentInfo |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setInitial(ResourceBundleDeploymentInfo.Builder builderForValue)
public ClusterInfo.Builder setInitial(ResourceBundleDeploymentInfo.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceBundleDeploymentInfo.Builder |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setMembership(String value)
public ClusterInfo.Builder setMembership(String value)
Output only. gkehub membership of target cluster
string membership = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The membership to set. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
setMembershipBytes(ByteString value)
public ClusterInfo.Builder setMembershipBytes(ByteString value)
Output only. gkehub membership of target cluster
string membership = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for membership to set. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
setMessages(int index, String value)
public ClusterInfo.Builder setMessages(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The messages to set. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClusterInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setStartTime(Timestamp value)
public ClusterInfo.Builder setStartTime(Timestamp value)
Output only. Timestamp when reconciliation starts.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setStartTime(Timestamp.Builder builderForValue)
public ClusterInfo.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. Timestamp when reconciliation starts.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
setState(ClusterInfo.State value)
public ClusterInfo.Builder setState(ClusterInfo.State value)
Output only. State of the rollout for the cluster.
.google.cloud.configdelivery.v1beta.ClusterInfo.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ClusterInfo.State The state to set. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
setStateValue(int value)
public ClusterInfo.Builder setStateValue(int value)
Output only. State of the rollout for the cluster.
.google.cloud.configdelivery.v1beta.ClusterInfo.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ClusterInfo.Builder |