Interface SyncErrorOrBuilder (1.3.0)

public interface SyncErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract String getCode()

An ACM defined error code

string code = 1;

Returns
TypeDescription
String

The code.

getCodeBytes()

public abstract ByteString getCodeBytes()

An ACM defined error code

string code = 1;

Returns
TypeDescription
ByteString

The bytes for code.

getErrorMessage()

public abstract String getErrorMessage()

A description of the error

string error_message = 2;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public abstract ByteString getErrorMessageBytes()

A description of the error

string error_message = 2;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getErrorResources(int index)

public abstract ErrorResource getErrorResources(int index)

A list of config(s) associated with the error, if any

repeated .google.cloud.gkehub.configmanagement.v1.ErrorResource error_resources = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorResource

getErrorResourcesCount()

public abstract int getErrorResourcesCount()

A list of config(s) associated with the error, if any

repeated .google.cloud.gkehub.configmanagement.v1.ErrorResource error_resources = 3;

Returns
TypeDescription
int

getErrorResourcesList()

public abstract List<ErrorResource> getErrorResourcesList()

A list of config(s) associated with the error, if any

repeated .google.cloud.gkehub.configmanagement.v1.ErrorResource error_resources = 3;

Returns
TypeDescription
List<ErrorResource>

getErrorResourcesOrBuilder(int index)

public abstract ErrorResourceOrBuilder getErrorResourcesOrBuilder(int index)

A list of config(s) associated with the error, if any

repeated .google.cloud.gkehub.configmanagement.v1.ErrorResource error_resources = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorResourceOrBuilder

getErrorResourcesOrBuilderList()

public abstract List<? extends ErrorResourceOrBuilder> getErrorResourcesOrBuilderList()

A list of config(s) associated with the error, if any

repeated .google.cloud.gkehub.configmanagement.v1.ErrorResource error_resources = 3;

Returns
TypeDescription
List<? extends com.google.cloud.gkehub.configmanagement.v1.ErrorResourceOrBuilder>