public static final class CreateContentRequest.Builder extends GeneratedMessage.Builder<CreateContentRequest.Builder> implements CreateContentRequestOrBuilderCreate content request.
Protobuf type google.cloud.dataplex.v1.CreateContentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateContentRequest.BuilderImplements
CreateContentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateContentRequest build()| Returns | |
|---|---|
| Type | Description |
CreateContentRequest |
|
buildPartial()
public CreateContentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateContentRequest |
|
clear()
public CreateContentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
clearContent()
public CreateContentRequest.Builder clearContent()Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
clearParent()
public CreateContentRequest.Builder clearParent()Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public CreateContentRequest.Builder clearValidateOnly()Optional. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
This builder for chaining. |
getContent()
public Content getContent()Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Content |
The content. |
getContentBuilder()
public Content.Builder getContentBuilder()Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
getContentOrBuilder()
public ContentOrBuilder getContentOrBuilder()Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContentOrBuilder |
|
getDefaultInstanceForType()
public CreateContentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateContentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_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 parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_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. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasContent()
public boolean hasContent()Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the content field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeContent(Content value)
public CreateContentRequest.Builder mergeContent(Content value)Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Content |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
mergeFrom(CreateContentRequest other)
public CreateContentRequest.Builder mergeFrom(CreateContentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateContentRequest |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateContentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
setContent(Content value)
public CreateContentRequest.Builder setContent(Content value)Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Content |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
setContent(Content.Builder builderForValue)
public CreateContentRequest.Builder setContent(Content.Builder builderForValue)Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Content.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
|
setParent(String value)
public CreateContentRequest.Builder setParent(String value)Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateContentRequest.Builder setParentBytes(ByteString value)Required. The resource name of the parent lake: projects/{project_id}/locations/{location_id}/lakes/{lake_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 |
CreateContentRequest.Builder |
This builder for chaining. |
setValidateOnly(boolean value)
public CreateContentRequest.Builder setValidateOnly(boolean value)Optional. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
CreateContentRequest.Builder |
This builder for chaining. |