Class ResponseMetadata.Builder (0.50.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResponseMetadata build()
Returns
Type Description
ResponseMetadata

buildPartial()

public ResponseMetadata buildPartial()
Returns
Type Description
ResponseMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResponseMetadata.Builder
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
Type Description
ResponseMetadata.Builder

This builder for chaining.

clone()

public ResponseMetadata.Builder clone()
Returns
Type Description
ResponseMetadata.Builder
Overrides

getDefaultInstanceForType()

public ResponseMetadata getDefaultInstanceForType()
Returns
Type Description
ResponseMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResponseMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResponseMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ResponseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResponseMetadata.Builder
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
Type Description
ResponseMetadata.Builder

This builder for chaining.

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
Type Description
ResponseMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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