public static final class ErrorResource.Builder extends GeneratedMessageV3.Builder<ErrorResource.Builder> implements ErrorResourceOrBuilderModel for a config file in the git repo with an associated Sync error
Protobuf type google.cloud.gkehub.configmanagement.v1beta.ErrorResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ErrorResource.BuilderImplements
ErrorResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ErrorResource.Builder |
build()
public ErrorResource build()| Type | Description |
| ErrorResource |
buildPartial()
public ErrorResource buildPartial()| Type | Description |
| ErrorResource |
clear()
public ErrorResource.Builder clear()| Type | Description |
| ErrorResource.Builder |
clearField(Descriptors.FieldDescriptor field)
public ErrorResource.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ErrorResource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ErrorResource.Builder |
clearResourceGvk()
public ErrorResource.Builder clearResourceGvk()Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1beta.GroupVersionKind resource_gvk = 4;
| Type | Description |
| ErrorResource.Builder |
clearResourceName()
public ErrorResource.Builder clearResourceName()Metadata name of the resource that is causing an error
string resource_name = 2;
| 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;
| 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;
| Type | Description |
| ErrorResource.Builder | This builder for chaining. |
clone()
public ErrorResource.Builder clone()| Type | Description |
| ErrorResource.Builder |
getDefaultInstanceForType()
public ErrorResource getDefaultInstanceForType()| Type | Description |
| ErrorResource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getResourceGvk()
public GroupVersionKind getResourceGvk()Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1beta.GroupVersionKind resource_gvk = 4;
| 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.v1beta.GroupVersionKind resource_gvk = 4;
| Type | Description |
| GroupVersionKind.Builder |
getResourceGvkOrBuilder()
public GroupVersionKindOrBuilder getResourceGvkOrBuilder()Group/version/kind of the resource that is causing an error
.google.cloud.gkehub.configmanagement.v1beta.GroupVersionKind resource_gvk = 4;
| Type | Description |
| GroupVersionKindOrBuilder |
getResourceName()
public String getResourceName()Metadata name of the resource that is causing an error
string resource_name = 2;
| Type | Description |
| String | The resourceName. |
getResourceNameBytes()
public ByteString getResourceNameBytes()Metadata name of the resource that is causing an error
string resource_name = 2;
| Type | Description |
| ByteString | The bytes for resourceName. |
getResourceNamespace()
public String getResourceNamespace()Namespace of the resource that is causing an error
string resource_namespace = 3;
| Type | Description |
| String | The resourceNamespace. |
getResourceNamespaceBytes()
public ByteString getResourceNamespaceBytes()Namespace of the resource that is causing an error
string resource_namespace = 3;
| Type | Description |
| ByteString | The bytes for resourceNamespace. |
getSourcePath()
public String getSourcePath()Path in the git repo of the erroneous config
string source_path = 1;
| Type | Description |
| String | The sourcePath. |
getSourcePathBytes()
public ByteString getSourcePathBytes()Path in the git repo of the erroneous config
string source_path = 1;
| 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.v1beta.GroupVersionKind resource_gvk = 4;
| Type | Description |
| boolean | Whether the resourceGvk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ErrorResource other)
public ErrorResource.Builder mergeFrom(ErrorResource other)| Name | Description |
| other | ErrorResource |
| Type | Description |
| ErrorResource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ErrorResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ErrorResource.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ErrorResource.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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.v1beta.GroupVersionKind resource_gvk = 4;
| Name | Description |
| value | GroupVersionKind |
| Type | Description |
| ErrorResource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ErrorResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorResource.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ErrorResource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| 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.v1beta.GroupVersionKind resource_gvk = 4;
| Name | Description |
| value | GroupVersionKind |
| 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.v1beta.GroupVersionKind resource_gvk = 4;
| Name | Description |
| builderForValue | GroupVersionKind.Builder |
| 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;
| Name | Description |
| value | StringThe resourceName to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for resourceName to set. |
| 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;
| Name | Description |
| value | StringThe resourceNamespace to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for resourceNamespace to set. |
| 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;
| Name | Description |
| value | StringThe sourcePath to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for sourcePath to set. |
| Type | Description |
| ErrorResource.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorResource.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ErrorResource.Builder |