Interface SyncStateOrBuilder (0.5.4)

public interface SyncStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract SyncState.SyncCode getCode()

Sync status code

.google.cloud.gkehub.configmanagement.v1beta.SyncState.SyncCode code = 5;

Returns
TypeDescription
SyncState.SyncCode

The code.

getCodeValue()

public abstract int getCodeValue()

Sync status code

.google.cloud.gkehub.configmanagement.v1beta.SyncState.SyncCode code = 5;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
String

The importToken.

getImportTokenBytes()

public abstract ByteString getImportTokenBytes()

Token indicating the state of the importer.

string import_token = 2;

Returns
TypeDescription
ByteString

The bytes for importToken.

getLastSync()

public abstract String getLastSync()

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
TypeDescription
String

The lastSync.

getLastSyncBytes()

public abstract ByteString getLastSyncBytes()

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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getSourceToken()

public abstract String getSourceToken()

Token indicating the state of the repo.

string source_token = 1;

Returns
TypeDescription
String

The sourceToken.

getSourceTokenBytes()

public abstract ByteString getSourceTokenBytes()

Token indicating the state of the repo.

string source_token = 1;

Returns
TypeDescription
ByteString

The bytes for sourceToken.

getSyncToken()

public abstract String getSyncToken()

Token indicating the state of the syncer.

string sync_token = 3;

Returns
TypeDescription
String

The syncToken.

getSyncTokenBytes()

public abstract ByteString getSyncTokenBytes()

Token indicating the state of the syncer.

string sync_token = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the lastSyncTime field is set.