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.SyncCode
getCode()
Sync status codeint
getCodeValue()
Sync status codeSyncError
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.v1beta.SyncState.last_sync is deprecated.com.google.protobuf.ByteString
getLastSyncBytes()
Deprecated.google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated.com.google.protobuf.Timestamp
getLastSyncTime()
Timestamp type of when ACM last successfully synced the repocom.google.protobuf.TimestampOrBuilder
getLastSyncTimeOrBuilder()
Timestamp type of when ACM last successfully synced the repoString
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-
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.v1beta.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=317Deprecated: 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.v1beta.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=317Deprecated: 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
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.v1beta.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.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
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.v1beta.SyncError errors = 6;
-
-