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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public OperationMetadata.Diagnostic.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public OperationMetadata.Diagnostic build()
Returns
public OperationMetadata.Diagnostic buildPartial()
Returns
public OperationMetadata.Diagnostic.Builder clear()
Returns
Overrides
public OperationMetadata.Diagnostic.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public OperationMetadata.Diagnostic.Builder clearLocation()
Location of the diagnostic.
string location = 1;
Returns
public OperationMetadata.Diagnostic.Builder clearMessage()
The diagnostic message.
string message = 2;
Returns
public OperationMetadata.Diagnostic.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public OperationMetadata.Diagnostic.Builder clone()
Returns
Overrides
public OperationMetadata.Diagnostic getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getLocation()
Location of the diagnostic.
string location = 1;
Returns
Type | Description |
String | The location.
|
public ByteString getLocationBytes()
Location of the diagnostic.
string location = 1;
Returns
public String getMessage()
The diagnostic message.
string message = 2;
Returns
Type | Description |
String | The message.
|
public ByteString getMessageBytes()
The diagnostic message.
string message = 2;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public OperationMetadata.Diagnostic.Builder mergeFrom(OperationMetadata.Diagnostic other)
Parameter
Returns
public OperationMetadata.Diagnostic.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public OperationMetadata.Diagnostic.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final OperationMetadata.Diagnostic.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public OperationMetadata.Diagnostic.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public OperationMetadata.Diagnostic.Builder setLocation(String value)
Location of the diagnostic.
string location = 1;
Parameter
Name | Description |
value | String
The location to set.
|
Returns
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
public OperationMetadata.Diagnostic.Builder setMessage(String value)
The diagnostic message.
string message = 2;
Parameter
Name | Description |
value | String
The message to set.
|
Returns
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
public OperationMetadata.Diagnostic.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final OperationMetadata.Diagnostic.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides