Class AwsClusterError.Builder (0.42.0)

public static final class AwsClusterError.Builder extends GeneratedMessageV3.Builder<AwsClusterError.Builder> implements AwsClusterErrorOrBuilder

AwsClusterError describes errors found on AWS clusters.

Protobuf type google.cloud.gkemulticloud.v1.AwsClusterError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsClusterError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsClusterError.Builder
Overrides

build()

public AwsClusterError build()
Returns
Type Description
AwsClusterError

buildPartial()

public AwsClusterError buildPartial()
Returns
Type Description
AwsClusterError

clear()

public AwsClusterError.Builder clear()
Returns
Type Description
AwsClusterError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsClusterError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsClusterError.Builder
Overrides

clearMessage()

public AwsClusterError.Builder clearMessage()

Human-friendly description of the error.

string message = 1;

Returns
Type Description
AwsClusterError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsClusterError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsClusterError.Builder
Overrides

clone()

public AwsClusterError.Builder clone()
Returns
Type Description
AwsClusterError.Builder
Overrides

getDefaultInstanceForType()

public AwsClusterError getDefaultInstanceForType()
Returns
Type Description
AwsClusterError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMessage()

public String getMessage()

Human-friendly description of the error.

string message = 1;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Human-friendly description of the error.

string message = 1;

Returns
Type Description
ByteString

The bytes for message.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsClusterError other)

public AwsClusterError.Builder mergeFrom(AwsClusterError other)
Parameter
Name Description
other AwsClusterError
Returns
Type Description
AwsClusterError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsClusterError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsClusterError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsClusterError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsClusterError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsClusterError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsClusterError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsClusterError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsClusterError.Builder
Overrides

setMessage(String value)

public AwsClusterError.Builder setMessage(String value)

Human-friendly description of the error.

string message = 1;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
AwsClusterError.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public AwsClusterError.Builder setMessageBytes(ByteString value)

Human-friendly description of the error.

string message = 1;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
AwsClusterError.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsClusterError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsClusterError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsClusterError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsClusterError.Builder
Overrides