Class ResponseMetadata.Builder (2.19.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.talent.v4.ResponseMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResponseMetadata build()
Returns
TypeDescription
ResponseMetadata

buildPartial()

public ResponseMetadata buildPartial()
Returns
TypeDescription
ResponseMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public ResponseMetadata.Builder clearRequestId()

A unique id associated with this call. This id is logged for tracking purposes.

string request_id = 1;

Returns
TypeDescription
ResponseMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ResponseMetadata getDefaultInstanceForType()
Returns
TypeDescription
ResponseMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRequestId()

public String getRequestId()

A unique id associated with this call. This id is logged for tracking purposes.

string request_id = 1;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A unique id associated with this call. This id is logged for tracking purposes.

string request_id = 1;

Returns
TypeDescription
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResponseMetadata other)

public ResponseMetadata.Builder mergeFrom(ResponseMetadata other)
Parameter
NameDescription
otherResponseMetadata
Returns
TypeDescription
ResponseMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ResponseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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 purposes.

string request_id = 1;

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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 purposes.

string request_id = 1;

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
ResponseMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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