Interface SyncStateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SyncState, SyncState.Builder

@Generated public interface SyncStateOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Sync status code
    int
    Sync status code
    getErrors(int index)
    A list of errors resulting from problematic configs.
    int
    A list of errors resulting from problematic configs.
    A list of errors resulting from problematic configs.
    getErrorsOrBuilder(int index)
    A list of errors resulting from problematic configs.
    A list of errors resulting from problematic configs.
    Token indicating the state of the importer.
    com.google.protobuf.ByteString
    Token indicating the state of the importer.
    Deprecated.
    google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.cloud.gkehub.configmanagement.v1beta.SyncState.last_sync is deprecated.
    com.google.protobuf.Timestamp
    Timestamp type of when ACM last successfully synced the repo
    com.google.protobuf.TimestampOrBuilder
    Timestamp type of when ACM last successfully synced the repo
    Token indicating the state of the repo.
    com.google.protobuf.ByteString
    Token indicating the state of the repo.
    Token indicating the state of the syncer.
    com.google.protobuf.ByteString
    Token indicating the state of the syncer.
    boolean
    Timestamp type of when ACM last successfully synced the repo

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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=603
       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.v1beta.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=603
       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.v1beta.SyncState.SyncCode code = 5;
      Returns:
      The enum numeric value on the wire for code.
    • 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;