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 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=305
         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:
        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=305
         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:
        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;