Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder (1.59.0)

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

Protobuf type google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides