public static final class StatusDetails.Builder extends GeneratedMessage.Builder<StatusDetails.Builder> implements StatusDetailsOrBuilderStructured and human-readable details for a status.
Protobuf type google.cloud.gkehub.servicemesh.v1beta.StatusDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StatusDetails.BuilderImplements
StatusDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StatusDetails build()| Returns | |
|---|---|
| Type | Description |
StatusDetails |
|
buildPartial()
public StatusDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
StatusDetails |
|
clear()
public StatusDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
|
clearCode()
public StatusDetails.Builder clearCode()A machine-readable code that further describes a broad status.
string code = 1;
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
This builder for chaining. |
clearDetails()
public StatusDetails.Builder clearDetails()Human-readable explanation of code.
string details = 2;
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
This builder for chaining. |
getCode()
public String 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()| Returns | |
|---|---|
| Type | Description |
StatusDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StatusDetails other)
public StatusDetails.Builder mergeFrom(StatusDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
StatusDetails |
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StatusDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StatusDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
|
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 |
StringThe code to set. |
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for code to set. |
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
This builder for chaining. |
setDetails(String value)
public StatusDetails.Builder setDetails(String value)Human-readable explanation of code.
string details = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe details to set. |
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
This builder for chaining. |
setDetailsBytes(ByteString value)
public StatusDetails.Builder setDetailsBytes(ByteString value)Human-readable explanation of code.
string details = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for details to set. |
| Returns | |
|---|---|
| Type | Description |
StatusDetails.Builder |
This builder for chaining. |