Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder (1.93.0)

public static final class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder extends GeneratedMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder> implements SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder

Protobuf type google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

Static Methods

getDescriptor()

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

Methods

build()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo build()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

buildPartial()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo buildPartial()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

clear()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clear()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

clearError()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clearError()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

clearState()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clearState()

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo getDefaultInstanceForType()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public Status getError()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
Type Description
Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
Type Description
Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
Type Description
StatusOrBuilder

getState()

public String getState()

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public ByteString getStateBytes()

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

hasError()

public boolean hasError()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
Type Description
boolean

Whether the error field is set.

hasState()

public boolean hasState()

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(Status value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeError(Status value)

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Parameter
Name Description
value Status
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

mergeFrom(SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo other)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeFrom(SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo other)
Parameter
Name Description
other SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

setError(Status value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setError(Status value)

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Parameter
Name Description
value Status
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

setError(Status.Builder builderForValue)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setError(Status.Builder builderForValue)

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Parameter
Name Description
builderForValue Status.Builder
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

setState(String value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setState(String value)

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value String

The state to set.

Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

This builder for chaining.

setStateBytes(ByteString value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setStateBytes(ByteString value)

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value ByteString

The bytes for state to set.

Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

This builder for chaining.