Interface ErrorResourceOrBuilder (1.53.0)

public interface ErrorResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourceGvk()

public abstract GroupVersionKind getResourceGvk()

Group/version/kind of the resource that is causing an error

.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;

Returns
Type Description
GroupVersionKind

The resourceGvk.

getResourceGvkOrBuilder()

public abstract GroupVersionKindOrBuilder getResourceGvkOrBuilder()

Group/version/kind of the resource that is causing an error

.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;

Returns
Type Description
GroupVersionKindOrBuilder

getResourceName()

public abstract String getResourceName()

Metadata name of the resource that is causing an error

string resource_name = 2;

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public abstract ByteString getResourceNameBytes()

Metadata name of the resource that is causing an error

string resource_name = 2;

Returns
Type Description
ByteString

The bytes for resourceName.

getResourceNamespace()

public abstract String getResourceNamespace()

Namespace of the resource that is causing an error

string resource_namespace = 3;

Returns
Type Description
String

The resourceNamespace.

getResourceNamespaceBytes()

public abstract ByteString getResourceNamespaceBytes()

Namespace of the resource that is causing an error

string resource_namespace = 3;

Returns
Type Description
ByteString

The bytes for resourceNamespace.

getSourcePath()

public abstract String getSourcePath()

Path in the git repo of the erroneous config

string source_path = 1;

Returns
Type Description
String

The sourcePath.

getSourcePathBytes()

public abstract ByteString getSourcePathBytes()

Path in the git repo of the erroneous config

string source_path = 1;

Returns
Type Description
ByteString

The bytes for sourcePath.

hasResourceGvk()

public abstract boolean hasResourceGvk()

Group/version/kind of the resource that is causing an error

.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;

Returns
Type Description
boolean

Whether the resourceGvk field is set.