public static final class SyncState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder> implements SyncStateOrBuilder
State indicating an ACM's progress syncing configurations to a clusterProtobuf type
google.cloud.gkehub.configmanagement.v1alpha.SyncState| Modifier and Type | Method and Description |
|---|---|
SyncState.Builder |
addAllErrors(Iterable<? extends SyncError> values)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
addErrors(int index,
SyncError.Builder builderForValue)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
addErrors(int index,
SyncError value)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
addErrors(SyncError.Builder builderForValue)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
addErrors(SyncError value)
A list of errors resulting from problematic configs.
|
SyncError.Builder |
addErrorsBuilder()
A list of errors resulting from problematic configs.
|
SyncError.Builder |
addErrorsBuilder(int index)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SyncState |
build() |
SyncState |
buildPartial() |
SyncState.Builder |
clear() |
SyncState.Builder |
clearCode()
Sync status code
|
SyncState.Builder |
clearErrors()
A list of errors resulting from problematic configs.
|
SyncState.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SyncState.Builder |
clearImportToken()
Token indicating the state of the importer.
|
SyncState.Builder |
clearLastSync()
Deprecated.
google.cloud.gkehub.configmanagement.v1alpha.SyncState.last_sync is deprecated.
See google/cloud/gkehub/v1alpha/configmanagement/configmanagement.proto;l=320
|
SyncState.Builder |
clearLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
|
SyncState.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SyncState.Builder |
clearSourceToken()
Token indicating the state of the repo.
|
SyncState.Builder |
clearSyncToken()
Token indicating the state of the syncer.
|
SyncState.Builder |
clone() |
SyncState.SyncCode |
getCode()
Sync status code
|
int |
getCodeValue()
Sync status code
|
SyncState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
SyncError |
getErrors(int index)
A list of errors resulting from problematic configs.
|
SyncError.Builder |
getErrorsBuilder(int index)
A list of errors resulting from problematic configs.
|
List<SyncError.Builder> |
getErrorsBuilderList()
A list of errors resulting from problematic configs.
|
int |
getErrorsCount()
A list of errors resulting from problematic configs.
|
List<SyncError> |
getErrorsList()
A list of errors resulting from problematic configs.
|
SyncErrorOrBuilder |
getErrorsOrBuilder(int index)
A list of errors resulting from problematic configs.
|
List<? extends SyncErrorOrBuilder> |
getErrorsOrBuilderList()
A list of errors resulting from problematic configs.
|
String |
getImportToken()
Token indicating the state of the importer.
|
com.google.protobuf.ByteString |
getImportTokenBytes()
Token indicating the state of the importer.
|
String |
getLastSync()
Deprecated.
google.cloud.gkehub.configmanagement.v1alpha.SyncState.last_sync is deprecated.
See google/cloud/gkehub/v1alpha/configmanagement/configmanagement.proto;l=320
|
com.google.protobuf.ByteString |
getLastSyncBytes()
Deprecated.
google.cloud.gkehub.configmanagement.v1alpha.SyncState.last_sync is deprecated.
See google/cloud/gkehub/v1alpha/configmanagement/configmanagement.proto;l=320
|
com.google.protobuf.Timestamp |
getLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
|
com.google.protobuf.Timestamp.Builder |
getLastSyncTimeBuilder()
Timestamp type of when ACM last successfully synced the repo
|
com.google.protobuf.TimestampOrBuilder |
getLastSyncTimeOrBuilder()
Timestamp type of when ACM last successfully synced the repo
|
String |
getSourceToken()
Token indicating the state of the repo.
|
com.google.protobuf.ByteString |
getSourceTokenBytes()
Token indicating the state of the repo.
|
String |
getSyncToken()
Token indicating the state of the syncer.
|
com.google.protobuf.ByteString |
getSyncTokenBytes()
Token indicating the state of the syncer.
|
boolean |
hasLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SyncState.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SyncState.Builder |
mergeFrom(com.google.protobuf.Message other) |
SyncState.Builder |
mergeFrom(SyncState other) |
SyncState.Builder |
mergeLastSyncTime(com.google.protobuf.Timestamp value)
Timestamp type of when ACM last successfully synced the repo
|
SyncState.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SyncState.Builder |
removeErrors(int index)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
setCode(SyncState.SyncCode value)
Sync status code
|
SyncState.Builder |
setCodeValue(int value)
Sync status code
|
SyncState.Builder |
setErrors(int index,
SyncError.Builder builderForValue)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
setErrors(int index,
SyncError value)
A list of errors resulting from problematic configs.
|
SyncState.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SyncState.Builder |
setImportToken(String value)
Token indicating the state of the importer.
|
SyncState.Builder |
setImportTokenBytes(com.google.protobuf.ByteString value)
Token indicating the state of the importer.
|
SyncState.Builder |
setLastSync(String value)
Deprecated.
google.cloud.gkehub.configmanagement.v1alpha.SyncState.last_sync is deprecated.
See google/cloud/gkehub/v1alpha/configmanagement/configmanagement.proto;l=320
|
SyncState.Builder |
setLastSyncBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.gkehub.configmanagement.v1alpha.SyncState.last_sync is deprecated.
See google/cloud/gkehub/v1alpha/configmanagement/configmanagement.proto;l=320
|
SyncState.Builder |
setLastSyncTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp type of when ACM last successfully synced the repo
|
SyncState.Builder |
setLastSyncTime(com.google.protobuf.Timestamp value)
Timestamp type of when ACM last successfully synced the repo
|
SyncState.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SyncState.Builder |
setSourceToken(String value)
Token indicating the state of the repo.
|
SyncState.Builder |
setSourceTokenBytes(com.google.protobuf.ByteString value)
Token indicating the state of the repo.
|
SyncState.Builder |
setSyncToken(String value)
Token indicating the state of the syncer.
|
SyncState.Builder |
setSyncTokenBytes(com.google.protobuf.ByteString value)
Token indicating the state of the syncer.
|
SyncState.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SyncState build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SyncState buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SyncState.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SyncState.Builder>public SyncState.Builder mergeFrom(SyncState other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public SyncState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SyncState.Builder>IOExceptionpublic String getSourceToken()
Token indicating the state of the repo.
string source_token = 1;getSourceToken in interface SyncStateOrBuilderpublic com.google.protobuf.ByteString getSourceTokenBytes()
Token indicating the state of the repo.
string source_token = 1;getSourceTokenBytes in interface SyncStateOrBuilderpublic SyncState.Builder setSourceToken(String value)
Token indicating the state of the repo.
string source_token = 1;value - The sourceToken to set.public SyncState.Builder clearSourceToken()
Token indicating the state of the repo.
string source_token = 1;public SyncState.Builder setSourceTokenBytes(com.google.protobuf.ByteString value)
Token indicating the state of the repo.
string source_token = 1;value - The bytes for sourceToken to set.public String getImportToken()
Token indicating the state of the importer.
string import_token = 2;getImportToken in interface SyncStateOrBuilderpublic com.google.protobuf.ByteString getImportTokenBytes()
Token indicating the state of the importer.
string import_token = 2;getImportTokenBytes in interface SyncStateOrBuilderpublic SyncState.Builder setImportToken(String value)
Token indicating the state of the importer.
string import_token = 2;value - The importToken to set.public SyncState.Builder clearImportToken()
Token indicating the state of the importer.
string import_token = 2;public SyncState.Builder setImportTokenBytes(com.google.protobuf.ByteString value)
Token indicating the state of the importer.
string import_token = 2;value - The bytes for importToken to set.public String getSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;getSyncToken in interface SyncStateOrBuilderpublic com.google.protobuf.ByteString getSyncTokenBytes()
Token indicating the state of the syncer.
string sync_token = 3;getSyncTokenBytes in interface SyncStateOrBuilderpublic SyncState.Builder setSyncToken(String value)
Token indicating the state of the syncer.
string sync_token = 3;value - The syncToken to set.public SyncState.Builder clearSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;public SyncState.Builder setSyncTokenBytes(com.google.protobuf.ByteString value)
Token indicating the state of the syncer.
string sync_token = 3;value - The bytes for syncToken to set.@Deprecated public String getLastSync()
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];getLastSync in interface SyncStateOrBuilder@Deprecated public com.google.protobuf.ByteString getLastSyncBytes()
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];getLastSyncBytes in interface SyncStateOrBuilder@Deprecated public SyncState.Builder setLastSync(String value)
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];value - The lastSync to set.@Deprecated public SyncState.Builder clearLastSync()
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];@Deprecated public SyncState.Builder setLastSyncBytes(com.google.protobuf.ByteString value)
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];value - The bytes for lastSync to set.public boolean hasLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;hasLastSyncTime in interface SyncStateOrBuilderpublic com.google.protobuf.Timestamp getLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;getLastSyncTime in interface SyncStateOrBuilderpublic SyncState.Builder setLastSyncTime(com.google.protobuf.Timestamp value)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;public SyncState.Builder setLastSyncTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;public SyncState.Builder mergeLastSyncTime(com.google.protobuf.Timestamp value)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;public SyncState.Builder clearLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;public com.google.protobuf.Timestamp.Builder getLastSyncTimeBuilder()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;public com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;getLastSyncTimeOrBuilder in interface SyncStateOrBuilderpublic int getCodeValue()
Sync status code
.google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode code = 5;getCodeValue in interface SyncStateOrBuilderpublic SyncState.Builder setCodeValue(int value)
Sync status code
.google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode code = 5;value - The enum numeric value on the wire for code to set.public SyncState.SyncCode getCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode code = 5;getCode in interface SyncStateOrBuilderpublic SyncState.Builder setCode(SyncState.SyncCode value)
Sync status code
.google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode code = 5;value - The code to set.public SyncState.Builder clearCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode code = 5;public List<SyncError> getErrorsList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;getErrorsList in interface SyncStateOrBuilderpublic int getErrorsCount()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;getErrorsCount in interface SyncStateOrBuilderpublic SyncError getErrors(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;getErrors in interface SyncStateOrBuilderpublic SyncState.Builder setErrors(int index, SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder setErrors(int index, SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder addErrors(SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder addErrors(int index, SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder addErrors(SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder addErrors(int index, SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder addAllErrors(Iterable<? extends SyncError> values)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder clearErrors()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncState.Builder removeErrors(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncError.Builder getErrorsBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncErrorOrBuilder getErrorsOrBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;getErrorsOrBuilder in interface SyncStateOrBuilderpublic List<? extends SyncErrorOrBuilder> getErrorsOrBuilderList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;getErrorsOrBuilderList in interface SyncStateOrBuilderpublic SyncError.Builder addErrorsBuilder()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public SyncError.Builder addErrorsBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public List<SyncError.Builder> getErrorsBuilderList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1alpha.SyncError errors = 6;public final SyncState.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>public final SyncState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SyncState.Builder>Copyright © 2024 Google LLC. All rights reserved.