public static final class Instance.StateInfo.Builder extends GeneratedMessageV3.Builder<Instance.StateInfo.Builder> implements Instance.StateInfoOrBuilder
Additional information about the state of the instance.
Protobuf type google.cloud.memorystore.v1beta.Instance.StateInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.StateInfo.BuilderImplements
Instance.StateInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.StateInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
build()
public Instance.StateInfo build()
Returns | |
---|---|
Type | Description |
Instance.StateInfo |
buildPartial()
public Instance.StateInfo buildPartial()
Returns | |
---|---|
Type | Description |
Instance.StateInfo |
clear()
public Instance.StateInfo.Builder clear()
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public Instance.StateInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
clearInfo()
public Instance.StateInfo.Builder clearInfo()
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.StateInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
clearUpdateInfo()
public Instance.StateInfo.Builder clearUpdateInfo()
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
clone()
public Instance.StateInfo.Builder clone()
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
getDefaultInstanceForType()
public Instance.StateInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Instance.StateInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInfoCase()
public Instance.StateInfo.InfoCase getInfoCase()
Returns | |
---|---|
Type | Description |
Instance.StateInfo.InfoCase |
getUpdateInfo()
public Instance.StateInfo.UpdateInfo getUpdateInfo()
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.StateInfo.UpdateInfo |
The updateInfo. |
getUpdateInfoBuilder()
public Instance.StateInfo.UpdateInfo.Builder getUpdateInfoBuilder()
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.StateInfo.UpdateInfo.Builder |
getUpdateInfoOrBuilder()
public Instance.StateInfo.UpdateInfoOrBuilder getUpdateInfoOrBuilder()
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.StateInfo.UpdateInfoOrBuilder |
hasUpdateInfo()
public boolean hasUpdateInfo()
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Instance.StateInfo other)
public Instance.StateInfo.Builder mergeFrom(Instance.StateInfo other)
Parameter | |
---|---|
Name | Description |
other |
Instance.StateInfo |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.StateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Instance.StateInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.StateInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
mergeUpdateInfo(Instance.StateInfo.UpdateInfo value)
public Instance.StateInfo.Builder mergeUpdateInfo(Instance.StateInfo.UpdateInfo value)
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Instance.StateInfo.UpdateInfo |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.StateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.StateInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.StateInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
setUpdateInfo(Instance.StateInfo.UpdateInfo value)
public Instance.StateInfo.Builder setUpdateInfo(Instance.StateInfo.UpdateInfo value)
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Instance.StateInfo.UpdateInfo |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |
setUpdateInfo(Instance.StateInfo.UpdateInfo.Builder builderForValue)
public Instance.StateInfo.Builder setUpdateInfo(Instance.StateInfo.UpdateInfo.Builder builderForValue)
Output only. Describes ongoing update when instance state is UPDATING.
.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Instance.StateInfo.UpdateInfo.Builder |
Returns | |
---|---|
Type | Description |
Instance.StateInfo.Builder |