public static final class ResponseMetadata.Builder extends GeneratedMessageV3.Builder<ResponseMetadata.Builder> implements ResponseMetadataOrBuilder
Additional information returned to client, such as debugging information.
Protobuf type google.cloud.contentwarehouse.v1.ResponseMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResponseMetadata build()
Returns
buildPartial()
public ResponseMetadata buildPartial()
Returns
clear()
public ResponseMetadata.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResponseMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRequestId()
public ResponseMetadata.Builder clearRequestId()
A unique id associated with this call. This id is logged for tracking
purpose.
string request_id = 1;
Returns
clone()
public ResponseMetadata.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResponseMetadata getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRequestId()
public String getRequestId()
A unique id associated with this call. This id is logged for tracking
purpose.
string request_id = 1;
Returns
Type | Description |
String | The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
A unique id associated with this call. This id is logged for tracking
purpose.
string request_id = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResponseMetadata other)
public ResponseMetadata.Builder mergeFrom(ResponseMetadata other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResponseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResponseMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRequestId(String value)
public ResponseMetadata.Builder setRequestId(String value)
A unique id associated with this call. This id is logged for tracking
purpose.
string request_id = 1;
Parameter
Name | Description |
value | String
The requestId to set.
|
Returns
setRequestIdBytes(ByteString value)
public ResponseMetadata.Builder setRequestIdBytes(ByteString value)
A unique id associated with this call. This id is logged for tracking
purpose.
string request_id = 1;
Parameter
Name | Description |
value | ByteString
The bytes for requestId to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides