Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder (1.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

build()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo build()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

buildPartial()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo buildPartial()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

clear()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

This builder for chaining.

clone()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder clone()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

getDefaultInstanceForType()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo getDefaultInstanceForType()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueStatus
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

mergeFrom(SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo other)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeFrom(SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo other)
Parameter
NameDescription
otherSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueStatus
Returns
TypeDescription
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
NameDescription
builderForValueStatus.Builder
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

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

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The state to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides