Class OperationMetadata.Diagnostic.Builder (2.48.0)

public static final class OperationMetadata.Diagnostic.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Diagnostic.Builder> implements OperationMetadata.DiagnosticOrBuilder

Diagnostic information from configuration processing.

Protobuf type google.cloud.apigateway.v1.OperationMetadata.Diagnostic

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OperationMetadata.Diagnostic build()
Returns
Type Description
OperationMetadata.Diagnostic

buildPartial()

public OperationMetadata.Diagnostic buildPartial()
Returns
Type Description
OperationMetadata.Diagnostic

clear()

public OperationMetadata.Diagnostic.Builder clear()
Returns
Type Description
OperationMetadata.Diagnostic.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public OperationMetadata.Diagnostic.Builder clearLocation()

Location of the diagnostic.

string location = 1;

Returns
Type Description
OperationMetadata.Diagnostic.Builder

This builder for chaining.

clearMessage()

public OperationMetadata.Diagnostic.Builder clearMessage()

The diagnostic message.

string message = 2;

Returns
Type Description
OperationMetadata.Diagnostic.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationMetadata.Diagnostic.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OperationMetadata.Diagnostic.Builder
Overrides

clone()

public OperationMetadata.Diagnostic.Builder clone()
Returns
Type Description
OperationMetadata.Diagnostic.Builder
Overrides

getDefaultInstanceForType()

public OperationMetadata.Diagnostic getDefaultInstanceForType()
Returns
Type Description
OperationMetadata.Diagnostic

getDescriptorForType()

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

getLocation()

public String getLocation()

Location of the diagnostic.

string location = 1;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location of the diagnostic.

string location = 1;

Returns
Type Description
ByteString

The bytes for location.

getMessage()

public String getMessage()

The diagnostic message.

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The diagnostic message.

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OperationMetadata.Diagnostic other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public OperationMetadata.Diagnostic.Builder setLocation(String value)

Location of the diagnostic.

string location = 1;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
OperationMetadata.Diagnostic.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public OperationMetadata.Diagnostic.Builder setLocationBytes(ByteString value)

Location of the diagnostic.

string location = 1;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
OperationMetadata.Diagnostic.Builder

This builder for chaining.

setMessage(String value)

public OperationMetadata.Diagnostic.Builder setMessage(String value)

The diagnostic message.

string message = 2;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
OperationMetadata.Diagnostic.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public OperationMetadata.Diagnostic.Builder setMessageBytes(ByteString value)

The diagnostic message.

string message = 2;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
OperationMetadata.Diagnostic.Builder

This builder for chaining.

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

public OperationMetadata.Diagnostic.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OperationMetadata.Diagnostic.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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