public static final class RequestDataProductAccessRequest.Builder extends GeneratedMessage.Builder<RequestDataProductAccessRequest.Builder> implements RequestDataProductAccessRequestOrBuilderMessage for requesting access to a Data Product.
Protobuf type google.cloud.dataplex.v1.RequestDataProductAccessRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RequestDataProductAccessRequest.BuilderImplements
RequestDataProductAccessRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RequestDataProductAccessRequest build()| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest |
|
buildPartial()
public RequestDataProductAccessRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest |
|
clear()
public RequestDataProductAccessRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
clearChangeRequest()
public RequestDataProductAccessRequest.Builder clearChangeRequest()Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
clearParent()
public RequestDataProductAccessRequest.Builder clearParent()Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public RequestDataProductAccessRequest.Builder clearValidateOnly()Optional. Validates the request without actually creating the access change request. Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
This builder for chaining. |
getChangeRequest()
public ChangeRequest getChangeRequest()Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChangeRequest |
The changeRequest. |
getChangeRequestBuilder()
public ChangeRequest.Builder getChangeRequestBuilder()Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChangeRequest.Builder |
|
getChangeRequestOrBuilder()
public ChangeRequestOrBuilder getChangeRequestOrBuilder()Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChangeRequestOrBuilder |
|
getDefaultInstanceForType()
public RequestDataProductAccessRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getValidateOnly()
public boolean getValidateOnly()Optional. Validates the request without actually creating the access change request. Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasChangeRequest()
public boolean hasChangeRequest()Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the changeRequest field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeChangeRequest(ChangeRequest value)
public RequestDataProductAccessRequest.Builder mergeChangeRequest(ChangeRequest value)Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ChangeRequest |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
mergeFrom(RequestDataProductAccessRequest other)
public RequestDataProductAccessRequest.Builder mergeFrom(RequestDataProductAccessRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RequestDataProductAccessRequest |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RequestDataProductAccessRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RequestDataProductAccessRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
setChangeRequest(ChangeRequest value)
public RequestDataProductAccessRequest.Builder setChangeRequest(ChangeRequest value)Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ChangeRequest |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
setChangeRequest(ChangeRequest.Builder builderForValue)
public RequestDataProductAccessRequest.Builder setChangeRequest(ChangeRequest.Builder builderForValue)Required. The change request for the data product access request.
.google.cloud.dataplex.v1.ChangeRequest change_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ChangeRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
|
setParent(String value)
public RequestDataProductAccessRequest.Builder setParent(String value)Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public RequestDataProductAccessRequest.Builder setParentBytes(ByteString value)Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
This builder for chaining. |
setValidateOnly(boolean value)
public RequestDataProductAccessRequest.Builder setValidateOnly(boolean value)Optional. Validates the request without actually creating the access change request. Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
RequestDataProductAccessRequest.Builder |
This builder for chaining. |