Class OperationMetadata.Diagnostic.Builder (2.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OperationMetadata.Diagnostic build()
Returns
TypeDescription
OperationMetadata.Diagnostic

buildPartial()

public OperationMetadata.Diagnostic buildPartial()
Returns
TypeDescription
OperationMetadata.Diagnostic

clear()

public OperationMetadata.Diagnostic.Builder clear()
Returns
TypeDescription
OperationMetadata.Diagnostic.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public OperationMetadata.Diagnostic.Builder clearLocation()

Location of the diagnostic.

string location = 1;

Returns
TypeDescription
OperationMetadata.Diagnostic.Builder

This builder for chaining.

clearMessage()

public OperationMetadata.Diagnostic.Builder clearMessage()

The diagnostic message.

string message = 2;

Returns
TypeDescription
OperationMetadata.Diagnostic.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public OperationMetadata.Diagnostic.Builder clone()
Returns
TypeDescription
OperationMetadata.Diagnostic.Builder
Overrides

getDefaultInstanceForType()

public OperationMetadata.Diagnostic getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadata.Diagnostic

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocation()

public String getLocation()

Location of the diagnostic.

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location of the diagnostic.

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.

getMessage()

public String getMessage()

The diagnostic message.

string message = 2;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The diagnostic message.

string message = 2;

Returns
TypeDescription
ByteString

The bytes for message.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OperationMetadata.Diagnostic other)

public OperationMetadata.Diagnostic.Builder mergeFrom(OperationMetadata.Diagnostic other)
Parameter
NameDescription
otherOperationMetadata.Diagnostic
Returns
TypeDescription
OperationMetadata.Diagnostic.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public OperationMetadata.Diagnostic.Builder setLocation(String value)

Location of the diagnostic.

string location = 1;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
OperationMetadata.Diagnostic.Builder

This builder for chaining.

setMessage(String value)

public OperationMetadata.Diagnostic.Builder setMessage(String value)

The diagnostic message.

string message = 2;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
OperationMetadata.Diagnostic.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public OperationMetadata.Diagnostic.Builder setMessageBytes(ByteString value)

The diagnostic message.

string message = 2;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OperationMetadata.Diagnostic.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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