Interface SyncErrorOrBuilder (1.55.0)

public interface SyncErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract String getCode()

An ACM defined error code

string code = 1;

Returns
Type Description
String

The code.

getCodeBytes()

public abstract ByteString getCodeBytes()

An ACM defined error code

string code = 1;

Returns
Type Description
ByteString

The bytes for code.

getErrorMessage()

public abstract String getErrorMessage()

A description of the error

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public abstract ByteString getErrorMessageBytes()

A description of the error

string error_message = 2;

Returns
Type Description
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.v1beta.ErrorResource error_resources = 3;

Parameter
Name Description
index int
Returns
Type Description
ErrorResource

getErrorResourcesCount()

public abstract int getErrorResourcesCount()

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

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

Returns
Type Description
int

getErrorResourcesList()

public abstract List<ErrorResource> getErrorResourcesList()

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

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

Returns
Type Description
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.v1beta.ErrorResource error_resources = 3;

Parameter
Name Description
index int
Returns
Type Description
ErrorResourceOrBuilder

getErrorResourcesOrBuilderList()

public abstract List<? extends ErrorResourceOrBuilder> getErrorResourcesOrBuilderList()

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

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

Returns
Type Description
List<? extends com.google.cloud.gkehub.configmanagement.v1beta.ErrorResourceOrBuilder>