Package com.google.privacy.dlp.v2
Interface CreateConnectionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateConnectionRequest,CreateConnectionRequest.Builder
@Generated
public interface CreateConnectionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.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. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: `projects/{project_id}/locations/{location_id}` + Organizations scope: `organizations/{org_id}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: `projects/{project_id}/locations/{location_id}` + Organizations scope: `organizations/{org_id}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasConnection
boolean hasConnection()Required. The connection resource.
.google.privacy.dlp.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the connection field is set.
-
getConnection
Connection getConnection()Required. The connection resource.
.google.privacy.dlp.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The connection.
-
getConnectionOrBuilder
ConnectionOrBuilder getConnectionOrBuilder()Required. The connection resource.
.google.privacy.dlp.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];
-