- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public interface SyncStateOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCode()
public abstract SyncState.SyncCode getCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Returns | |
---|---|
Type | Description |
SyncState.SyncCode |
The code. |
getCodeValue()
public abstract int getCodeValue()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Returns | |
---|---|
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.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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.v1.SyncError errors = 6;
Returns | |
---|---|
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.v1.SyncError errors = 6;
Returns | |
---|---|
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.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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.v1.SyncError errors = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkehub.configmanagement.v1.SyncErrorOrBuilder> |
getImportToken()
public abstract String getImportToken()
Token indicating the state of the importer.
string import_token = 2;
Returns | |
---|---|
Type | Description |
String |
The importToken. |
getImportTokenBytes()
public abstract ByteString getImportTokenBytes()
Token indicating the state of the importer.
string import_token = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for importToken. |
getLastSync() (deprecated)
public abstract String getLastSync()
Deprecated. google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=436
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];
Returns | |
---|---|
Type | Description |
String |
The lastSync. |
getLastSyncBytes() (deprecated)
public abstract ByteString getLastSyncBytes()
Deprecated. google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=436
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];
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getSourceToken()
public abstract String getSourceToken()
Token indicating the state of the repo.
string source_token = 1;
Returns | |
---|---|
Type | Description |
String |
The sourceToken. |
getSourceTokenBytes()
public abstract ByteString getSourceTokenBytes()
Token indicating the state of the repo.
string source_token = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceToken. |
getSyncToken()
public abstract String getSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;
Returns | |
---|---|
Type | Description |
String |
The syncToken. |
getSyncTokenBytes()
public abstract ByteString getSyncTokenBytes()
Token indicating the state of the syncer.
string sync_token = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastSyncTime field is set. |