Class SetCommonInstanceMetadataOperationMetadata.Builder (1.43.0)

public static final class SetCommonInstanceMetadataOperationMetadata.Builder extends GeneratedMessageV3.Builder<SetCommonInstanceMetadataOperationMetadata.Builder> implements SetCommonInstanceMetadataOperationMetadataOrBuilder

Protobuf type google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetCommonInstanceMetadataOperationMetadata build()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata

buildPartial()

public SetCommonInstanceMetadataOperationMetadata buildPartial()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata

clear()

public SetCommonInstanceMetadataOperationMetadata.Builder clear()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder
Overrides

clearClientOperationId()

public SetCommonInstanceMetadataOperationMetadata.Builder clearClientOperationId()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SetCommonInstanceMetadataOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder
Overrides

clearPerLocationOperations()

public SetCommonInstanceMetadataOperationMetadata.Builder clearPerLocationOperations()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

clone()

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

containsPerLocationOperations(String key)

public boolean containsPerLocationOperations(String key)

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getClientOperationId()

public String getClientOperationId()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
TypeDescription
String

The clientOperationId.

getClientOperationIdBytes()

public ByteString getClientOperationIdBytes()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
TypeDescription
ByteString

The bytes for clientOperationId.

getDefaultInstanceForType()

public SetCommonInstanceMetadataOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutablePerLocationOperations() (deprecated)

public Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> getMutablePerLocationOperations()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>

getPerLocationOperations() (deprecated)

public Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> getPerLocationOperations()
Returns
TypeDescription
Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>

getPerLocationOperationsCount()

public int getPerLocationOperationsCount()

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Returns
TypeDescription
int

getPerLocationOperationsMap()

public Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> getPerLocationOperationsMap()

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Returns
TypeDescription
Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>

getPerLocationOperationsOrDefault(String key, SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo defaultValue)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo getPerLocationOperationsOrDefault(String key, SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo defaultValue)

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Parameters
NameDescription
keyString
defaultValueSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

getPerLocationOperationsOrThrow(String key)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo getPerLocationOperationsOrThrow(String key)

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Parameter
NameDescription
keyString
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

hasClientOperationId()

public boolean hasClientOperationId()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
TypeDescription
boolean

Whether the clientOperationId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SetCommonInstanceMetadataOperationMetadata other)

public SetCommonInstanceMetadataOperationMetadata.Builder mergeFrom(SetCommonInstanceMetadataOperationMetadata other)
Parameter
NameDescription
otherSetCommonInstanceMetadataOperationMetadata
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetCommonInstanceMetadataOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder
Overrides

putAllPerLocationOperations(Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> values)

public SetCommonInstanceMetadataOperationMetadata.Builder putAllPerLocationOperations(Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> values)

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Parameter
NameDescription
valuesMap<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

putPerLocationOperations(String key, SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo value)

public SetCommonInstanceMetadataOperationMetadata.Builder putPerLocationOperations(String key, SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo value)

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Parameters
NameDescription
keyString
valueSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

removePerLocationOperations(String key)

public SetCommonInstanceMetadataOperationMetadata.Builder removePerLocationOperations(String key)

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a

map<string, .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> per_location_operations = 408987796;

Parameter
NameDescription
keyString
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

setClientOperationId(String value)

public SetCommonInstanceMetadataOperationMetadata.Builder setClientOperationId(String value)

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Parameter
NameDescription
valueString

The clientOperationId to set.

Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

This builder for chaining.

setClientOperationIdBytes(ByteString value)

public SetCommonInstanceMetadataOperationMetadata.Builder setClientOperationIdBytes(ByteString value)

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Parameter
NameDescription
valueByteString

The bytes for clientOperationId to set.

Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SetCommonInstanceMetadataOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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