- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class ErrorResource.Builder extends GeneratedMessageV3.Builder<ErrorResource.Builder> implements ErrorResourceOrBuilder
Model for a config file in the git repo with an associated Sync error
Protobuf type google.cloud.gkehub.configmanagement.v1.ErrorResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ErrorResource.BuilderImplements
ErrorResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ErrorResource.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public ErrorResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ErrorResource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
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. |
clone()
public ErrorResource.Builder clone()
Returns | |
---|---|
Type | Description |
ErrorResource.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ErrorResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ErrorResource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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 | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for sourcePath to set. |
Returns | |
---|---|
Type | Description |
ErrorResource.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ErrorResource.Builder |