Class InstallError.Builder (1.54.0)

public static final class InstallError.Builder extends GeneratedMessageV3.Builder<InstallError.Builder> implements InstallErrorOrBuilder

Errors pertaining to the installation of ACM

Protobuf type google.cloud.gkehub.configmanagement.v1alpha.InstallError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstallError build()
Returns
Type Description
InstallError

buildPartial()

public InstallError buildPartial()
Returns
Type Description
InstallError

clear()

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

clearErrorMessage()

public InstallError.Builder clearErrorMessage()

A string representing the user facing error message

string error_message = 1;

Returns
Type Description
InstallError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstallError getDefaultInstanceForType()
Returns
Type Description
InstallError

getDescriptorForType()

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

getErrorMessage()

public String getErrorMessage()

A string representing the user facing error message

string error_message = 1;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

A string representing the user facing error message

string error_message = 1;

Returns
Type Description
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstallError other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorMessage(String value)

public InstallError.Builder setErrorMessage(String value)

A string representing the user facing error message

string error_message = 1;

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
InstallError.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public InstallError.Builder setErrorMessageBytes(ByteString value)

A string representing the user facing error message

string error_message = 1;

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
InstallError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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