public static final class OperationMetadata.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder
Provides contextual information about a google.longrunning.Operation.
Protobuf type google.cloud.channel.v1.OperationMetadata
Methods
public OperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public OperationMetadata build()
Returns
public OperationMetadata buildPartial()
Returns
public OperationMetadata.Builder clear()
Returns
Overrides
public OperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public OperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public OperationMetadata.Builder clearOperationType()
The RPC that initiated this Long Running Operation.
.google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1;
Returns
public OperationMetadata.Builder clone()
Returns
Overrides
public OperationMetadata getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public OperationMetadata.OperationType getOperationType()
The RPC that initiated this Long Running Operation.
.google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1;
Returns
public int getOperationTypeValue()
The RPC that initiated this Long Running Operation.
.google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for operationType.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public OperationMetadata.Builder mergeFrom(OperationMetadata other)
Parameter
Returns
public OperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public OperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final OperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public OperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public OperationMetadata.Builder setOperationType(OperationMetadata.OperationType value)
The RPC that initiated this Long Running Operation.
.google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1;
Parameter
Returns
public OperationMetadata.Builder setOperationTypeValue(int value)
The RPC that initiated this Long Running Operation.
.google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for operationType to set.
|
Returns
public OperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final OperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides