public static final class StatusDetails.Builder extends GeneratedMessageV3.Builder<StatusDetails.Builder> implements StatusDetailsOrBuilder
Structured and human-readable details for a status.
Protobuf type google.cloud.gkehub.servicemesh.v1beta.StatusDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StatusDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StatusDetails build()
buildPartial()
public StatusDetails buildPartial()
clear()
public StatusDetails.Builder clear()
Overrides
clearCode()
public StatusDetails.Builder clearCode()
A machine-readable code that further describes a broad status.
string code = 1;
clearDetails()
public StatusDetails.Builder clearDetails()
Human-readable explanation of code.
string details = 2;
clearField(Descriptors.FieldDescriptor field)
public StatusDetails.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StatusDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StatusDetails.Builder clone()
Overrides
getCode()
A machine-readable code that further describes a broad status.
string code = 1;
Returns |
Type |
Description |
String |
The code.
|
getCodeBytes()
public ByteString getCodeBytes()
A machine-readable code that further describes a broad status.
string code = 1;
Returns |
Type |
Description |
ByteString |
The bytes for code.
|
getDefaultInstanceForType()
public StatusDetails getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDetails()
public String getDetails()
Human-readable explanation of code.
string details = 2;
Returns |
Type |
Description |
String |
The details.
|
getDetailsBytes()
public ByteString getDetailsBytes()
Human-readable explanation of code.
string details = 2;
Returns |
Type |
Description |
ByteString |
The bytes for details.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StatusDetails other)
public StatusDetails.Builder mergeFrom(StatusDetails other)
public StatusDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StatusDetails.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatusDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCode(String value)
public StatusDetails.Builder setCode(String value)
A machine-readable code that further describes a broad status.
string code = 1;
Parameter |
Name |
Description |
value |
String
The code to set.
|
setCodeBytes(ByteString value)
public StatusDetails.Builder setCodeBytes(ByteString value)
A machine-readable code that further describes a broad status.
string code = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for code to set.
|
setDetails(String value)
public StatusDetails.Builder setDetails(String value)
Human-readable explanation of code.
string details = 2;
Parameter |
Name |
Description |
value |
String
The details to set.
|
setDetailsBytes(ByteString value)
public StatusDetails.Builder setDetailsBytes(ByteString value)
Human-readable explanation of code.
string details = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for details to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StatusDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatusDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StatusDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides