public static final class SyncError.Builder extends GeneratedMessageV3.Builder<SyncError.Builder> implements SyncErrorOrBuilder
An ACM created error representing a problem syncing configurations
Protobuf type google.cloud.gkehub.configmanagement.v1beta.SyncError
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllErrorResources(Iterable<? extends ErrorResource> values)
public SyncError.Builder addAllErrorResources(Iterable<? extends ErrorResource> values)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.gkehub.configmanagement.v1beta.ErrorResource>
|
addErrorResources(ErrorResource value)
public SyncError.Builder addErrorResources(ErrorResource value)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
addErrorResources(ErrorResource.Builder builderForValue)
public SyncError.Builder addErrorResources(ErrorResource.Builder builderForValue)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
addErrorResources(int index, ErrorResource value)
public SyncError.Builder addErrorResources(int index, ErrorResource value)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
addErrorResources(int index, ErrorResource.Builder builderForValue)
public SyncError.Builder addErrorResources(int index, ErrorResource.Builder builderForValue)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
addErrorResourcesBuilder()
public ErrorResource.Builder addErrorResourcesBuilder()
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
addErrorResourcesBuilder(int index)
public ErrorResource.Builder addErrorResourcesBuilder(int index)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SyncError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public SyncError buildPartial()
clear()
public SyncError.Builder clear()
Overrides
clearCode()
public SyncError.Builder clearCode()
An ACM defined error code
string code = 1;
clearErrorMessage()
public SyncError.Builder clearErrorMessage()
A description of the error
string error_message = 2;
clearErrorResources()
public SyncError.Builder clearErrorResources()
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
clearField(Descriptors.FieldDescriptor field)
public SyncError.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SyncError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SyncError.Builder clone()
Overrides
getCode()
An ACM defined error code
string code = 1;
Returns |
Type |
Description |
String |
The code.
|
getCodeBytes()
public ByteString getCodeBytes()
An ACM defined error code
string code = 1;
Returns |
Type |
Description |
ByteString |
The bytes for code.
|
getDefaultInstanceForType()
public SyncError getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getErrorMessage()
public String getErrorMessage()
A description of the error
string error_message = 2;
Returns |
Type |
Description |
String |
The errorMessage.
|
getErrorMessageBytes()
public ByteString getErrorMessageBytes()
A description of the error
string error_message = 2;
Returns |
Type |
Description |
ByteString |
The bytes for errorMessage.
|
getErrorResources(int index)
public ErrorResource getErrorResources(int index)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Parameter |
Name |
Description |
index |
int
|
getErrorResourcesBuilder(int index)
public ErrorResource.Builder getErrorResourcesBuilder(int index)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Parameter |
Name |
Description |
index |
int
|
getErrorResourcesBuilderList()
public List<ErrorResource.Builder> getErrorResourcesBuilderList()
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
getErrorResourcesCount()
public int getErrorResourcesCount()
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Returns |
Type |
Description |
int |
|
getErrorResourcesList()
public List<ErrorResource> getErrorResourcesList()
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
getErrorResourcesOrBuilder(int index)
public ErrorResourceOrBuilder getErrorResourcesOrBuilder(int index)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Parameter |
Name |
Description |
index |
int
|
getErrorResourcesOrBuilderList()
public List<? extends ErrorResourceOrBuilder> getErrorResourcesOrBuilderList()
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.gkehub.configmanagement.v1beta.ErrorResourceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SyncError other)
public SyncError.Builder mergeFrom(SyncError other)
public SyncError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SyncError.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SyncError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeErrorResources(int index)
public SyncError.Builder removeErrorResources(int index)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
Parameter |
Name |
Description |
index |
int
|
setCode(String value)
public SyncError.Builder setCode(String value)
An ACM defined error code
string code = 1;
Parameter |
Name |
Description |
value |
String
The code to set.
|
setCodeBytes(ByteString value)
public SyncError.Builder setCodeBytes(ByteString value)
An ACM defined error code
string code = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for code to set.
|
setErrorMessage(String value)
public SyncError.Builder setErrorMessage(String value)
A description of the error
string error_message = 2;
Parameter |
Name |
Description |
value |
String
The errorMessage to set.
|
setErrorMessageBytes(ByteString value)
public SyncError.Builder setErrorMessageBytes(ByteString value)
A description of the error
string error_message = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for errorMessage to set.
|
setErrorResources(int index, ErrorResource value)
public SyncError.Builder setErrorResources(int index, ErrorResource value)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
setErrorResources(int index, ErrorResource.Builder builderForValue)
public SyncError.Builder setErrorResources(int index, ErrorResource.Builder builderForValue)
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public SyncError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SyncError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SyncError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides