public interface SyncStateOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCode()
public abstract SyncState.SyncCode getCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1beta.SyncState.SyncCode code = 5;
Type | Description |
SyncState.SyncCode | The code. |
getCodeValue()
public abstract int getCodeValue()
Sync status code
.google.cloud.gkehub.configmanagement.v1beta.SyncState.SyncCode code = 5;
Type | Description |
int | The enum numeric value on the wire for code. |
getErrors(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
SyncError |
getErrorsCount()
public abstract 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;
Type | Description |
int |
getErrorsList()
public abstract 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;
Type | Description |
List<SyncError> |
getErrorsOrBuilder(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
SyncErrorOrBuilder |
getErrorsOrBuilderList()
public abstract 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;
Type | Description |
List<? extends com.google.cloud.gkehub.configmanagement.v1beta.SyncErrorOrBuilder> |
getImportToken()
public abstract String getImportToken()
Token indicating the state of the importer.
string import_token = 2;
Type | Description |
String | The importToken. |
getImportTokenBytes()
public abstract ByteString getImportTokenBytes()
Token indicating the state of the importer.
string import_token = 2;
Type | Description |
ByteString | The bytes for importToken. |
getLastSync() (deprecated)
public abstract String getLastSync()
Deprecated. google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=317
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];
Type | Description |
String | The lastSync. |
getLastSyncBytes() (deprecated)
public abstract ByteString getLastSyncBytes()
Deprecated. google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=317
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];
Type | Description |
ByteString | The bytes for lastSync. |
getLastSyncTime()
public abstract Timestamp getLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
Timestamp | The lastSyncTime. |
getLastSyncTimeOrBuilder()
public abstract TimestampOrBuilder getLastSyncTimeOrBuilder()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
TimestampOrBuilder |
getSourceToken()
public abstract String getSourceToken()
Token indicating the state of the repo.
string source_token = 1;
Type | Description |
String | The sourceToken. |
getSourceTokenBytes()
public abstract ByteString getSourceTokenBytes()
Token indicating the state of the repo.
string source_token = 1;
Type | Description |
ByteString | The bytes for sourceToken. |
getSyncToken()
public abstract String getSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;
Type | Description |
String | The syncToken. |
getSyncTokenBytes()
public abstract ByteString getSyncTokenBytes()
Token indicating the state of the syncer.
string sync_token = 3;
Type | Description |
ByteString | The bytes for syncToken. |
hasLastSyncTime()
public abstract boolean hasLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
boolean | Whether the lastSyncTime field is set. |