public static final class CreateDataProductRequest.Builder extends GeneratedMessage.Builder<CreateDataProductRequest.Builder> implements CreateDataProductRequestOrBuilderRequest message for creating a data product.
Protobuf type google.cloud.dataplex.v1.CreateDataProductRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateDataProductRequest.BuilderImplements
CreateDataProductRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateDataProductRequest build()| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest |
|
buildPartial()
public CreateDataProductRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest |
|
clear()
public CreateDataProductRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
clearDataProduct()
public CreateDataProductRequest.Builder clearDataProduct()Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
clearDataProductId()
public CreateDataProductRequest.Builder clearDataProductId()Optional. The ID of the data product to create.
The ID must conform to RFC-1034 and contain only lower-case letters (a-z),
numbers (0-9), or hyphens, with the first character a letter, the last a
letter or a number, and a 63 character maximum. Characters outside of
ASCII are not permitted.
Valid format regex: ^a-z?$
If not provided, a system generated ID will be used.
string data_product_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
This builder for chaining. |
clearParent()
public CreateDataProductRequest.Builder clearParent()Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public CreateDataProductRequest.Builder clearValidateOnly()Optional. Validates the request without actually creating the data product. Default: false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
This builder for chaining. |
getDataProduct()
public DataProduct getDataProduct()Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataProduct |
The dataProduct. |
getDataProductBuilder()
public DataProduct.Builder getDataProductBuilder()Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataProduct.Builder |
|
getDataProductId()
public String getDataProductId()Optional. The ID of the data product to create.
The ID must conform to RFC-1034 and contain only lower-case letters (a-z),
numbers (0-9), or hyphens, with the first character a letter, the last a
letter or a number, and a 63 character maximum. Characters outside of
ASCII are not permitted.
Valid format regex: ^a-z?$
If not provided, a system generated ID will be used.
string data_product_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The dataProductId. |
getDataProductIdBytes()
public ByteString getDataProductIdBytes()Optional. The ID of the data product to create.
The ID must conform to RFC-1034 and contain only lower-case letters (a-z),
numbers (0-9), or hyphens, with the first character a letter, the last a
letter or a number, and a 63 character maximum. Characters outside of
ASCII are not permitted.
Valid format regex: ^a-z?$
If not provided, a system generated ID will be used.
string data_product_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataProductId. |
getDataProductOrBuilder()
public DataProductOrBuilder getDataProductOrBuilder()Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataProductOrBuilder |
|
getDefaultInstanceForType()
public CreateDataProductRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_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 parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_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 data product. Default: false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasDataProduct()
public boolean hasDataProduct()Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataProduct field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataProduct(DataProduct value)
public CreateDataProductRequest.Builder mergeDataProduct(DataProduct value)Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataProduct |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
mergeFrom(CreateDataProductRequest other)
public CreateDataProductRequest.Builder mergeFrom(CreateDataProductRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateDataProductRequest |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDataProductRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateDataProductRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
setDataProduct(DataProduct value)
public CreateDataProductRequest.Builder setDataProduct(DataProduct value)Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataProduct |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
setDataProduct(DataProduct.Builder builderForValue)
public CreateDataProductRequest.Builder setDataProduct(DataProduct.Builder builderForValue)Required. The data product to create.
.google.cloud.dataplex.v1.DataProduct data_product = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataProduct.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
|
setDataProductId(String value)
public CreateDataProductRequest.Builder setDataProductId(String value)Optional. The ID of the data product to create.
The ID must conform to RFC-1034 and contain only lower-case letters (a-z),
numbers (0-9), or hyphens, with the first character a letter, the last a
letter or a number, and a 63 character maximum. Characters outside of
ASCII are not permitted.
Valid format regex: ^a-z?$
If not provided, a system generated ID will be used.
string data_product_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataProductId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
This builder for chaining. |
setDataProductIdBytes(ByteString value)
public CreateDataProductRequest.Builder setDataProductIdBytes(ByteString value)Optional. The ID of the data product to create.
The ID must conform to RFC-1034 and contain only lower-case letters (a-z),
numbers (0-9), or hyphens, with the first character a letter, the last a
letter or a number, and a 63 character maximum. Characters outside of
ASCII are not permitted.
Valid format regex: ^a-z?$
If not provided, a system generated ID will be used.
string data_product_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataProductId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateDataProductRequest.Builder setParent(String value)Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateDataProductRequest.Builder setParentBytes(ByteString value)Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{location_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 |
CreateDataProductRequest.Builder |
This builder for chaining. |
setValidateOnly(boolean value)
public CreateDataProductRequest.Builder setValidateOnly(boolean value)Optional. Validates the request without actually creating the data product. Default: false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataProductRequest.Builder |
This builder for chaining. |