Class SyncError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SyncError.Builder>
com.google.cloud.gkehub.configmanagement.v1beta.SyncError.Builder
- All Implemented Interfaces:
SyncErrorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SyncError
public static final class SyncError.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SyncError.Builder>
implements SyncErrorOrBuilder
An ACM created error representing a problem syncing configurationsProtobuf type
google.cloud.gkehub.configmanagement.v1beta.SyncError-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrorResources(Iterable<? extends ErrorResource> values) A list of config(s) associated with the error, if anyaddErrorResources(int index, ErrorResource value) A list of config(s) associated with the error, if anyaddErrorResources(int index, ErrorResource.Builder builderForValue) A list of config(s) associated with the error, if anyaddErrorResources(ErrorResource value) A list of config(s) associated with the error, if anyaddErrorResources(ErrorResource.Builder builderForValue) A list of config(s) associated with the error, if anyA list of config(s) associated with the error, if anyaddErrorResourcesBuilder(int index) A list of config(s) associated with the error, if anybuild()clear()An ACM defined error codeA description of the errorA list of config(s) associated with the error, if anygetCode()An ACM defined error codecom.google.protobuf.ByteStringAn ACM defined error codestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA description of the errorcom.google.protobuf.ByteStringA description of the errorgetErrorResources(int index) A list of config(s) associated with the error, if anygetErrorResourcesBuilder(int index) A list of config(s) associated with the error, if anyA list of config(s) associated with the error, if anyintA list of config(s) associated with the error, if anyA list of config(s) associated with the error, if anygetErrorResourcesOrBuilder(int index) A list of config(s) associated with the error, if anyList<? extends ErrorResourceOrBuilder>A list of config(s) associated with the error, if anyprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeErrorResources(int index) A list of config(s) associated with the error, if anyAn ACM defined error codesetCodeBytes(com.google.protobuf.ByteString value) An ACM defined error codesetErrorMessage(String value) A description of the errorsetErrorMessageBytes(com.google.protobuf.ByteString value) A description of the errorsetErrorResources(int index, ErrorResource value) A list of config(s) associated with the error, if anysetErrorResources(int index, ErrorResource.Builder builderForValue) A list of config(s) associated with the error, if anyMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SyncError.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SyncError.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SyncError.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SyncError.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SyncError.Builder>
-
mergeFrom
public SyncError.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SyncError.Builder>- Throws:
IOException
-
getCode
An ACM defined error code
string code = 1;- Specified by:
getCodein interfaceSyncErrorOrBuilder- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.ByteString getCodeBytes()An ACM defined error code
string code = 1;- Specified by:
getCodeBytesin interfaceSyncErrorOrBuilder- Returns:
- The bytes for code.
-
setCode
An ACM defined error code
string code = 1;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
An ACM defined error code
string code = 1;- Returns:
- This builder for chaining.
-
setCodeBytes
An ACM defined error code
string code = 1;- Parameters:
value- The bytes for code to set.- Returns:
- This builder for chaining.
-
getErrorMessage
A description of the error
string error_message = 2;- Specified by:
getErrorMessagein interfaceSyncErrorOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()A description of the error
string error_message = 2;- Specified by:
getErrorMessageBytesin interfaceSyncErrorOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
A description of the error
string error_message = 2;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
A description of the error
string error_message = 2;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
A description of the error
string error_message = 2;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
getErrorResourcesList
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;- Specified by:
getErrorResourcesListin interfaceSyncErrorOrBuilder
-
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;- Specified by:
getErrorResourcesCountin interfaceSyncErrorOrBuilder
-
getErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;- Specified by:
getErrorResourcesin interfaceSyncErrorOrBuilder
-
setErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
setErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
addErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
addErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
addErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
addErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
addAllErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
clearErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
removeErrorResources
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
getErrorResourcesBuilder
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
getErrorResourcesOrBuilder
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;- Specified by:
getErrorResourcesOrBuilderin interfaceSyncErrorOrBuilder
-
getErrorResourcesOrBuilderList
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;- Specified by:
getErrorResourcesOrBuilderListin interfaceSyncErrorOrBuilder
-
addErrorResourcesBuilder
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
addErrorResourcesBuilder
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3; -
getErrorResourcesBuilderList
A list of config(s) associated with the error, if any
repeated .google.cloud.gkehub.configmanagement.v1beta.ErrorResource error_resources = 3;
-