public final class ErrorResource extends GeneratedMessageV3 implements ErrorResourceOrBuilder
Model for a config file in the git repo with an associated Sync error
Protobuf type google.cloud.gkehub.configmanagement.v1.ErrorResource
Fields
RESOURCE_GVK_FIELD_NUMBER
public static final int RESOURCE_GVK_FIELD_NUMBER
Field Value
RESOURCE_NAMESPACE_FIELD_NUMBER
public static final int RESOURCE_NAMESPACE_FIELD_NUMBER
Field Value
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
SOURCE_PATH_FIELD_NUMBER
public static final int SOURCE_PATH_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ErrorResource getDefaultInstance()
Returns
getDefaultInstanceForType()
public ErrorResource getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<ErrorResource> getParserForType()
Returns
Overrides
getResourceGvk()
public GroupVersionKind getResourceGvk()
Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;
Returns
getResourceGvkOrBuilder()
public GroupVersionKindOrBuilder getResourceGvkOrBuilder()
Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;
Returns
getResourceName()
public String getResourceName()
Metadata name of the resource that is causing an error
string resource_name = 2;
Returns
Type | Description |
String | The resourceName.
|
getResourceNameBytes()
public 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 String getResourceNamespace()
Namespace of the resource that is causing an error
string resource_namespace = 3;
Returns
Type | Description |
String | The resourceNamespace.
|
getResourceNamespaceBytes()
public ByteString getResourceNamespaceBytes()
Namespace of the resource that is causing an error
string resource_namespace = 3;
Returns
Type | Description |
ByteString | The bytes for resourceNamespace.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSourcePath()
public String getSourcePath()
Path in the git repo of the erroneous config
string source_path = 1;
Returns
Type | Description |
String | The sourcePath.
|
getSourcePathBytes()
public ByteString getSourcePathBytes()
Path in the git repo of the erroneous config
string source_path = 1;
Returns
Type | Description |
ByteString | The bytes for sourcePath.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasResourceGvk()
public 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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ErrorResource.Builder newBuilder()
Returns
newBuilder(ErrorResource prototype)
public static ErrorResource.Builder newBuilder(ErrorResource prototype)
Parameter
Returns
newBuilderForType()
public ErrorResource.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ErrorResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ErrorResource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ErrorResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ErrorResource parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ErrorResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ErrorResource parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ErrorResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorResource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ErrorResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorResource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ErrorResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ErrorResource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ErrorResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ErrorResource> parser()
Returns
toBuilder()
public ErrorResource.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions