Interface SyncStateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SyncState,SyncState.Builder
@Generated
public interface SyncStateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Sync status codeintSync status codegetErrors(int index) A list of errors resulting from problematic configs.intA list of errors resulting from problematic configs.A list of errors resulting from problematic configs.getErrorsOrBuilder(int index) A list of errors resulting from problematic configs.List<? extends SyncErrorOrBuilder>A list of errors resulting from problematic configs.Token indicating the state of the importer.com.google.protobuf.ByteStringToken indicating the state of the importer.Deprecated.google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated.com.google.protobuf.TimestampTimestamp type of when ACM last successfully synced the repocom.google.protobuf.TimestampOrBuilderTimestamp type of when ACM last successfully synced the repoToken indicating the state of the repo.com.google.protobuf.ByteStringToken indicating the state of the repo.Token indicating the state of the syncer.com.google.protobuf.ByteStringToken indicating the state of the syncer.booleanTimestamp type of when ACM last successfully synced the repoMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSourceToken
String getSourceToken()Token indicating the state of the repo.
string source_token = 1;- Returns:
- The sourceToken.
-
getSourceTokenBytes
com.google.protobuf.ByteString getSourceTokenBytes()Token indicating the state of the repo.
string source_token = 1;- Returns:
- The bytes for sourceToken.
-
getImportToken
String getImportToken()Token indicating the state of the importer.
string import_token = 2;- Returns:
- The importToken.
-
getImportTokenBytes
com.google.protobuf.ByteString getImportTokenBytes()Token indicating the state of the importer.
string import_token = 2;- Returns:
- The bytes for importToken.
-
getSyncToken
String getSyncToken()Token indicating the state of the syncer.
string sync_token = 3;- Returns:
- The syncToken.
-
getSyncTokenBytes
com.google.protobuf.ByteString getSyncTokenBytes()Token indicating the state of the syncer.
string sync_token = 3;- Returns:
- The bytes for syncToken.
-
getLastSync
Deprecated.google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=603Deprecated: 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];- Returns:
- The lastSync.
-
getLastSyncBytes
Deprecated.google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=603Deprecated: 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];- Returns:
- The bytes for lastSync.
-
hasLastSyncTime
boolean hasLastSyncTime()Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;- Returns:
- Whether the lastSyncTime field is set.
-
getLastSyncTime
com.google.protobuf.Timestamp getLastSyncTime()Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;- Returns:
- The lastSyncTime.
-
getLastSyncTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder()Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7; -
getCodeValue
int getCodeValue()Sync status code
.google.cloud.gkehub.configmanagement.v1beta.SyncState.SyncCode code = 5;- Returns:
- The enum numeric value on the wire for code.
-
getCode
SyncState.SyncCode getCode()Sync status code
.google.cloud.gkehub.configmanagement.v1beta.SyncState.SyncCode code = 5;- Returns:
- The code.
-
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.v1beta.SyncError errors = 6; -
getErrors
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.v1beta.SyncError errors = 6; -
getErrorsCount
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.v1beta.SyncError errors = 6; -
getErrorsOrBuilderList
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.v1beta.SyncError errors = 6; -
getErrorsOrBuilder
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.v1beta.SyncError errors = 6;
-