Class AttachedClusterError.Builder (0.40.0)

public static final class AttachedClusterError.Builder extends GeneratedMessageV3.Builder<AttachedClusterError.Builder> implements AttachedClusterErrorOrBuilder

AttachedClusterError describes errors found on attached clusters.

Protobuf type google.cloud.gkemulticloud.v1.AttachedClusterError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AttachedClusterError build()
Returns
TypeDescription
AttachedClusterError

buildPartial()

public AttachedClusterError buildPartial()
Returns
TypeDescription
AttachedClusterError

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public AttachedClusterError.Builder clearMessage()

Human-friendly description of the error.

string message = 1;

Returns
TypeDescription
AttachedClusterError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AttachedClusterError getDefaultInstanceForType()
Returns
TypeDescription
AttachedClusterError

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(AttachedClusterError other)

public AttachedClusterError.Builder mergeFrom(AttachedClusterError other)
Parameter
NameDescription
otherAttachedClusterError
Returns
TypeDescription
AttachedClusterError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public AttachedClusterError.Builder setMessage(String value)

Human-friendly description of the error.

string message = 1;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
AttachedClusterError.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public AttachedClusterError.Builder setMessageBytes(ByteString value)

Human-friendly description of the error.

string message = 1;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
AttachedClusterError.Builder

This builder for chaining.

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

public AttachedClusterError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AttachedClusterError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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