Class QueryRuntimeError.QueryRuntimeErrorMetadata.Builder (0.31.0)

public static final class QueryRuntimeError.QueryRuntimeErrorMetadata.Builder extends GeneratedMessage.Builder<QueryRuntimeError.QueryRuntimeErrorMetadata.Builder> implements QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder

Metadata for the error.

Protobuf type google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata

Static Methods

getDescriptor()

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

Methods

build()

public QueryRuntimeError.QueryRuntimeErrorMetadata build()
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata

buildPartial()

public QueryRuntimeError.QueryRuntimeErrorMetadata buildPartial()
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata

clear()

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder clear()
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder
Overrides

clearKey()

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder clearKey()

Metadata key.

.google.cloud.chronicle.v1.QueryRuntimeError.MetadataKey key = 1;

Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

This builder for chaining.

clearValue()

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder clearValue()

Metadata value.

string value = 2;

Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public QueryRuntimeError.QueryRuntimeErrorMetadata getDefaultInstanceForType()
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata

getDescriptorForType()

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

getKey()

public QueryRuntimeError.MetadataKey getKey()

Metadata key.

.google.cloud.chronicle.v1.QueryRuntimeError.MetadataKey key = 1;

Returns
Type Description
QueryRuntimeError.MetadataKey

The key.

getKeyValue()

public int getKeyValue()

Metadata key.

.google.cloud.chronicle.v1.QueryRuntimeError.MetadataKey key = 1;

Returns
Type Description
int

The enum numeric value on the wire for key.

getValue()

public String getValue()

Metadata value.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Metadata value.

string value = 2;

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryRuntimeError.QueryRuntimeErrorMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setKey(QueryRuntimeError.MetadataKey value)

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder setKey(QueryRuntimeError.MetadataKey value)

Metadata key.

.google.cloud.chronicle.v1.QueryRuntimeError.MetadataKey key = 1;

Parameter
Name Description
value QueryRuntimeError.MetadataKey

The key to set.

Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

This builder for chaining.

setKeyValue(int value)

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder setKeyValue(int value)

Metadata key.

.google.cloud.chronicle.v1.QueryRuntimeError.MetadataKey key = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for key to set.

Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

This builder for chaining.

setValue(String value)

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder setValue(String value)

Metadata value.

string value = 2;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

This builder for chaining.

setValueBytes(ByteString value)

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder setValueBytes(ByteString value)

Metadata value.

string value = 2;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

This builder for chaining.