Class ConfigSyncError.Builder (1.49.0)

public static final class ConfigSyncError.Builder extends GeneratedMessageV3.Builder<ConfigSyncError.Builder> implements ConfigSyncErrorOrBuilder

Errors pertaining to the installation of Config Sync

Protobuf type google.cloud.gkehub.configmanagement.v1.ConfigSyncError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConfigSyncError build()
Returns
Type Description
ConfigSyncError

buildPartial()

public ConfigSyncError buildPartial()
Returns
Type Description
ConfigSyncError

clear()

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

clearErrorMessage()

public ConfigSyncError.Builder clearErrorMessage()

A string representing the user facing error message

string error_message = 1;

Returns
Type Description
ConfigSyncError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ConfigSyncError getDefaultInstanceForType()
Returns
Type Description
ConfigSyncError

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorMessage(String value)

public ConfigSyncError.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
ConfigSyncError.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public ConfigSyncError.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
ConfigSyncError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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