Class AwsClusterError.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsClusterError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsClusterError.Builder
Overrides

build()

public AwsClusterError build()
Returns
TypeDescription
AwsClusterError

buildPartial()

public AwsClusterError buildPartial()
Returns
TypeDescription
AwsClusterError

clear()

public AwsClusterError.Builder clear()
Returns
TypeDescription
AwsClusterError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsClusterError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsClusterError.Builder
Overrides

clearMessage()

public AwsClusterError.Builder clearMessage()

Human-friendly description of the error.

string message = 1;

Returns
TypeDescription
AwsClusterError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsClusterError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsClusterError.Builder
Overrides

clone()

public AwsClusterError.Builder clone()
Returns
TypeDescription
AwsClusterError.Builder
Overrides

getDefaultInstanceForType()

public AwsClusterError getDefaultInstanceForType()
Returns
TypeDescription
AwsClusterError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMessage()

public String getMessage()

Human-friendly description of the error.

string message = 1;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Human-friendly description of the error.

string message = 1;

Returns
TypeDescription
ByteString

The bytes for message.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsClusterError other)

public AwsClusterError.Builder mergeFrom(AwsClusterError other)
Parameter
NameDescription
otherAwsClusterError
Returns
TypeDescription
AwsClusterError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsClusterError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsClusterError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsClusterError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsClusterError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsClusterError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsClusterError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsClusterError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsClusterError.Builder
Overrides

setMessage(String value)

public AwsClusterError.Builder setMessage(String value)

Human-friendly description of the error.

string message = 1;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsClusterError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsClusterError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsClusterError.Builder
Overrides