Class InstallError.Builder (1.3.2)

Stay organized with collections Save and categorize content based on your preferences.
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.v1beta.InstallError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstallError build()
Returns
TypeDescription
InstallError

buildPartial()

public InstallError buildPartial()
Returns
TypeDescription
InstallError

clear()

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

clearErrorMessage()

public InstallError.Builder clearErrorMessage()

A string representing the user facing error message

string error_message = 1;

Returns
TypeDescription
InstallError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstallError getDefaultInstanceForType()
Returns
TypeDescription
InstallError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorMessage()

public String getErrorMessage()

A string representing the user facing error message

string error_message = 1;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

A string representing the user facing error message

string error_message = 1;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstallError other)

public InstallError.Builder mergeFrom(InstallError other)
Parameter
NameDescription
otherInstallError
Returns
TypeDescription
InstallError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstallError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The errorMessage to set.

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

The bytes for errorMessage to set.

Returns
TypeDescription
InstallError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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