public final class SyncState extends com.google.protobuf.GeneratedMessageV3 implements SyncStateOrBuilder
State indicating an ACM's progress syncing configurations to a clusterProtobuf type
google.cloud.gkehub.configmanagement.v1alpha.SyncState| Modifier and Type | Class and Description |
|---|---|
static class |
SyncState.Builder
State indicating an ACM's progress syncing configurations to a cluster
|
static class |
SyncState.SyncCode
An enum representing an ACM's status syncing configs to a cluster
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_FIELD_NUMBER |
static int |
ERRORS_FIELD_NUMBER |
static int |
IMPORT_TOKEN_FIELD_NUMBER |
static int |
LAST_SYNC_FIELD_NUMBER |
static int |
LAST_SYNC_TIME_FIELD_NUMBER |
static int |
SOURCE_TOKEN_FIELD_NUMBER |
static int |
SYNC_TOKEN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SyncState.SyncCode |
getCode()
Sync status code
|
int |
getCodeValue()
Sync status code
|
static SyncState |
getDefaultInstance() |
SyncState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SyncError |
getErrors(int index)
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.TimestampOrBuilder |
getLastSyncTimeOrBuilder()
Timestamp type of when ACM last successfully synced the repo
|
com.google.protobuf.Parser<SyncState> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SyncState.Builder |
newBuilder() |
static SyncState.Builder |
newBuilder(SyncState prototype) |
SyncState.Builder |
newBuilderForType() |
protected SyncState.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SyncState |
parseDelimitedFrom(InputStream input) |
static SyncState |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SyncState |
parseFrom(byte[] data) |
static SyncState |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SyncState |
parseFrom(ByteBuffer data) |
static SyncState |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SyncState |
parseFrom(com.google.protobuf.ByteString data) |
static SyncState |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SyncState |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SyncState |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SyncState |
parseFrom(InputStream input) |
static SyncState |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SyncState> |
parser() |
SyncState.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SOURCE_TOKEN_FIELD_NUMBER
public static final int IMPORT_TOKEN_FIELD_NUMBER
public static final int SYNC_TOKEN_FIELD_NUMBER
public static final int LAST_SYNC_FIELD_NUMBER
public static final int LAST_SYNC_TIME_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 SyncStateOrBuilder@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 SyncStateOrBuilderpublic 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 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.SyncCode getCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode code = 5;getCode in interface SyncStateOrBuilderpublic 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SyncState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SyncState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SyncState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SyncState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SyncState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SyncState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SyncState parseFrom(InputStream input) throws IOException
IOExceptionpublic static SyncState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SyncState parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SyncState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SyncState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SyncState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SyncState.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SyncState.Builder newBuilder()
public static SyncState.Builder newBuilder(SyncState prototype)
public SyncState.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SyncState.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SyncState getDefaultInstance()
public static com.google.protobuf.Parser<SyncState> parser()
public com.google.protobuf.Parser<SyncState> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SyncState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.