Interface ConnectorOrBuilder

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

@Generated public interface ConnectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTaskRestartPolicy

      boolean hasTaskRestartPolicy()
       Optional. Restarts the individual tasks of a Connector.
       
      .google.cloud.managedkafka.v1.TaskRetryPolicy task_restart_policy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the taskRestartPolicy field is set.
    • getTaskRestartPolicy

      TaskRetryPolicy getTaskRestartPolicy()
       Optional. Restarts the individual tasks of a Connector.
       
      .google.cloud.managedkafka.v1.TaskRetryPolicy task_restart_policy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The taskRestartPolicy.
    • getTaskRestartPolicyOrBuilder

      TaskRetryPolicyOrBuilder getTaskRestartPolicyOrBuilder()
       Optional. Restarts the individual tasks of a Connector.
       
      .google.cloud.managedkafka.v1.TaskRetryPolicy task_restart_policy = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getName

      String getName()
       Identifier. The name of the connector.
       Structured like:
       projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the connector.
       Structured like:
       projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getConfigsCount

      int getConfigsCount()
       Optional. Connector config as keys/values.
       The keys of the map are connector property names, for example:
       `connector.class`, `tasks.max`, `key.converter`.
       
      map<string, string> configs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • containsConfigs

      boolean containsConfigs(String key)
       Optional. Connector config as keys/values.
       The keys of the map are connector property names, for example:
       `connector.class`, `tasks.max`, `key.converter`.
       
      map<string, string> configs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getConfigs

      @Deprecated Map<String,String> getConfigs()
      Deprecated.
      Use getConfigsMap() instead.
    • getConfigsMap

      Map<String,String> getConfigsMap()
       Optional. Connector config as keys/values.
       The keys of the map are connector property names, for example:
       `connector.class`, `tasks.max`, `key.converter`.
       
      map<string, string> configs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getConfigsOrDefault

      String getConfigsOrDefault(String key, String defaultValue)
       Optional. Connector config as keys/values.
       The keys of the map are connector property names, for example:
       `connector.class`, `tasks.max`, `key.converter`.
       
      map<string, string> configs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getConfigsOrThrow

      String getConfigsOrThrow(String key)
       Optional. Connector config as keys/values.
       The keys of the map are connector property names, for example:
       `connector.class`, `tasks.max`, `key.converter`.
       
      map<string, string> configs = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getStateValue

      int getStateValue()
       Output only. The current state of the connector.
       
      .google.cloud.managedkafka.v1.Connector.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Connector.State getState()
       Output only. The current state of the connector.
       
      .google.cloud.managedkafka.v1.Connector.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getRestartPolicyCase

      Connector.RestartPolicyCase getRestartPolicyCase()