Class SetCommonInstanceMetadataOperationMetadata.Builder (1.58.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetCommonInstanceMetadataOperationMetadata build()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadata

buildPartial()

public SetCommonInstanceMetadataOperationMetadata buildPartial()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadata

clear()

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

clearClientOperationId()

public SetCommonInstanceMetadataOperationMetadata.Builder clearClientOperationId()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
Type Description
SetCommonInstanceMetadataOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPerLocationOperations()

public SetCommonInstanceMetadataOperationMetadata.Builder clearPerLocationOperations()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadata.Builder

clone()

public SetCommonInstanceMetadataOperationMetadata.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getClientOperationId()

public String getClientOperationId()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
Type Description
String

The clientOperationId.

getClientOperationIdBytes()

public ByteString getClientOperationIdBytes()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
Type Description
ByteString

The bytes for clientOperationId.

getDefaultInstanceForType()

public SetCommonInstanceMetadataOperationMetadata getDefaultInstanceForType()
Returns
Type Description
SetCommonInstanceMetadataOperationMetadata

getDescriptorForType()

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

getMutablePerLocationOperations() (deprecated)

public Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> getMutablePerLocationOperations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>

getPerLocationOperations() (deprecated)

public Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> getPerLocationOperations()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Returns
Type Description
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
Name Description
key String
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

hasClientOperationId()

public boolean hasClientOperationId()

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Returns
Type Description
boolean

Whether the clientOperationId field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SetCommonInstanceMetadataOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetCommonInstanceMetadataOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>
Returns
Type Description
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
Name Description
key String
value SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Returns
Type Description
SetCommonInstanceMetadataOperationMetadata.Builder

putPerLocationOperationsBuilderIfAbsent(String key)

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder putPerLocationOperationsBuilderIfAbsent(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
Name Description
key String
Returns
Type Description
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.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
Name Description
key String
Returns
Type Description
SetCommonInstanceMetadataOperationMetadata.Builder

setClientOperationId(String value)

public SetCommonInstanceMetadataOperationMetadata.Builder setClientOperationId(String value)

[Output Only] The client operation id.

optional string client_operation_id = 297240295;

Parameter
Name Description
value String

The clientOperationId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for clientOperationId to set.

Returns
Type Description
SetCommonInstanceMetadataOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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