Interface SyncStateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SyncState,SyncState.Builder
public interface SyncStateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SyncState.SyncCodegetCode()Sync status codeintgetCodeValue()Sync status codeSyncErrorgetErrors(int index)A list of errors resulting from problematic configs.intgetErrorsCount()A list of errors resulting from problematic configs.List<SyncError>getErrorsList()A list of errors resulting from problematic configs.SyncErrorOrBuildergetErrorsOrBuilder(int index)A list of errors resulting from problematic configs.List<? extends SyncErrorOrBuilder>getErrorsOrBuilderList()A list of errors resulting from problematic configs.StringgetImportToken()Token indicating the state of the importer.com.google.protobuf.ByteStringgetImportTokenBytes()Token indicating the state of the importer.StringgetLastSync()Deprecated.google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated.com.google.protobuf.ByteStringgetLastSyncBytes()Deprecated.google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated.com.google.protobuf.TimestampgetLastSyncTime()Timestamp type of when ACM last successfully synced the repocom.google.protobuf.TimestampOrBuildergetLastSyncTimeOrBuilder()Timestamp type of when ACM last successfully synced the repoStringgetSourceToken()Token indicating the state of the repo.com.google.protobuf.ByteStringgetSourceTokenBytes()Token indicating the state of the repo.StringgetSyncToken()Token indicating the state of the syncer.com.google.protobuf.ByteStringgetSyncTokenBytes()Token indicating the state of the syncer.booleanhasLastSyncTime()Timestamp type of when ACM last successfully synced the repo-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 String getLastSync()
Deprecated.google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=305Deprecated: 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 com.google.protobuf.ByteString getLastSyncBytes()
Deprecated.google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=305Deprecated: 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.v1.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.v1.SyncState.SyncCode code = 5;- Returns:
- The code.
-
getErrorsList
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.v1.SyncError errors = 6;
-
getErrors
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.v1.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.v1.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.v1.SyncError errors = 6;
-
getErrorsOrBuilder
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.v1.SyncError errors = 6;
-
-