Package com.google.cloud.managedkafka.v1
Interface CreateConnectorRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateConnectorRequest,CreateConnectorRequest.Builder
@Generated
public interface CreateConnectorRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getConnectorId
String getConnectorId()Required. The ID to use for the connector, which will become the final component of the connector's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-connector-id`.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The connectorId.
-
getConnectorIdBytes
com.google.protobuf.ByteString getConnectorIdBytes()Required. The ID to use for the connector, which will become the final component of the connector's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-connector-id`.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for connectorId.
-
hasConnector
boolean hasConnector()Required. The connector to create.
.google.cloud.managedkafka.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the connector field is set.
-
getConnector
Connector getConnector()Required. The connector to create.
.google.cloud.managedkafka.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The connector.
-
getConnectorOrBuilder
ConnectorOrBuilder getConnectorOrBuilder()Required. The connector to create.
.google.cloud.managedkafka.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
-