Class AzureClusterError.Builder (0.14.0)

public static final class AzureClusterError.Builder extends GeneratedMessageV3.Builder<AzureClusterError.Builder> implements AzureClusterErrorOrBuilder

AzureClusterError describes errors found on Azure clusters.

Protobuf type google.cloud.gkemulticloud.v1.AzureClusterError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureClusterError build()
Returns
TypeDescription
AzureClusterError

buildPartial()

public AzureClusterError buildPartial()
Returns
TypeDescription
AzureClusterError

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public AzureClusterError.Builder clearMessage()

Human-friendly description of the error.

string message = 1;

Returns
TypeDescription
AzureClusterError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AzureClusterError getDefaultInstanceForType()
Returns
TypeDescription
AzureClusterError

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

public AzureClusterError.Builder mergeFrom(AzureClusterError other)
Parameter
NameDescription
otherAzureClusterError
Returns
TypeDescription
AzureClusterError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public AzureClusterError.Builder setMessage(String value)

Human-friendly description of the error.

string message = 1;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
AzureClusterError.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public AzureClusterError.Builder setMessageBytes(ByteString value)

Human-friendly description of the error.

string message = 1;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
AzureClusterError.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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