public static final class ErrorResource.Builder extends GeneratedMessage.Builder<ErrorResource.Builder> implements ErrorResourceOrBuilderModel for a config file in the git repo with an associated Sync error
Protobuf type google.cloud.gkehub.configmanagement.v1.ErrorResource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ErrorResource.BuilderImplements
ErrorResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ErrorResource build()| Returns | |
|---|---|
| Type | Description |
ErrorResource |
|
buildPartial()
public ErrorResource buildPartial()| Returns | |
|---|---|
| Type | Description |
ErrorResource |
|
clear()
public ErrorResource.Builder clear()| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
clearResourceGvk()
public ErrorResource.Builder clearResourceGvk()Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
clearResourceName()
public ErrorResource.Builder clearResourceName()Metadata name of the resource that is causing an error
string resource_name = 2;
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
clearResourceNamespace()
public ErrorResource.Builder clearResourceNamespace()Namespace of the resource that is causing an error
string resource_namespace = 3;
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
clearSourcePath()
public ErrorResource.Builder clearSourcePath()Path in the git repo of the erroneous config
string source_path = 1;
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ErrorResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ErrorResource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
GroupVersionKind |
The resourceGvk. |
getResourceGvkBuilder()
public GroupVersionKind.Builder getResourceGvkBuilder()Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;
| Returns | |
|---|---|
| Type | Description |
GroupVersionKind.Builder |
|
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 | |
|---|---|
| Type | Description |
GroupVersionKindOrBuilder |
|
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ErrorResource other)
public ErrorResource.Builder mergeFrom(ErrorResource other)| Parameter | |
|---|---|
| Name | Description |
other |
ErrorResource |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ErrorResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ErrorResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
mergeResourceGvk(GroupVersionKind value)
public ErrorResource.Builder mergeResourceGvk(GroupVersionKind value)Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
GroupVersionKind |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
setResourceGvk(GroupVersionKind value)
public ErrorResource.Builder setResourceGvk(GroupVersionKind value)Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
GroupVersionKind |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
setResourceGvk(GroupVersionKind.Builder builderForValue)
public ErrorResource.Builder setResourceGvk(GroupVersionKind.Builder builderForValue)Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1.GroupVersionKind resource_gvk = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GroupVersionKind.Builder |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
|
setResourceName(String value)
public ErrorResource.Builder setResourceName(String value)Metadata name of the resource that is causing an error
string resource_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceName to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
setResourceNameBytes(ByteString value)
public ErrorResource.Builder setResourceNameBytes(ByteString value)Metadata name of the resource that is causing an error
string resource_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceName to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
setResourceNamespace(String value)
public ErrorResource.Builder setResourceNamespace(String value)Namespace of the resource that is causing an error
string resource_namespace = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceNamespace to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
setResourceNamespaceBytes(ByteString value)
public ErrorResource.Builder setResourceNamespaceBytes(ByteString value)Namespace of the resource that is causing an error
string resource_namespace = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceNamespace to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
setSourcePath(String value)
public ErrorResource.Builder setSourcePath(String value)Path in the git repo of the erroneous config
string source_path = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourcePath to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |
setSourcePathBytes(ByteString value)
public ErrorResource.Builder setSourcePathBytes(ByteString value)Path in the git repo of the erroneous config
string source_path = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourcePath to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorResource.Builder |
This builder for chaining. |