public static final class ExchangeError.Builder extends GeneratedMessage.Builder<ExchangeError.Builder> implements ExchangeErrorOrBuilderMessage for representing an error from exchanging OAuth tokens.
Protobuf type google.cloud.developerconnect.v1.ExchangeError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExchangeError.BuilderImplements
ExchangeErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExchangeError build()| Returns | |
|---|---|
| Type | Description |
ExchangeError |
|
buildPartial()
public ExchangeError buildPartial()| Returns | |
|---|---|
| Type | Description |
ExchangeError |
|
clear()
public ExchangeError.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
|
clearCode()
public ExchangeError.Builder clearCode()https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
string code = 1;
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
This builder for chaining. |
clearDescription()
public ExchangeError.Builder clearDescription()https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
This builder for chaining. |
getCode()
public String getCode()https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
string code = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes()https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
string code = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for code. |
getDefaultInstanceForType()
public ExchangeError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExchangeError |
|
getDescription()
public String getDescription()https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
string description = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExchangeError other)
public ExchangeError.Builder mergeFrom(ExchangeError other)| Parameter | |
|---|---|
| Name | Description |
other |
ExchangeError |
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExchangeError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExchangeError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
|
setCode(String value)
public ExchangeError.Builder setCode(String value)https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
string code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe code to set. |
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public ExchangeError.Builder setCodeBytes(ByteString value)https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
string code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for code to set. |
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
This builder for chaining. |
setDescription(String value)
public ExchangeError.Builder setDescription(String value)https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ExchangeError.Builder setDescriptionBytes(ByteString value)https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ExchangeError.Builder |
This builder for chaining. |