public static final class CreateContentRequest.Builder extends GeneratedMessageV3.Builder<CreateContentRequest.Builder> implements CreateContentRequestOrBuilder
Create content request.
Protobuf type google.cloud.dataplex.v1.CreateContentRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateContentRequest build()
buildPartial()
public CreateContentRequest buildPartial()
clear()
public CreateContentRequest.Builder clear()
Overrides
clearContent()
public CreateContentRequest.Builder clearContent()
Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
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];
clone()
public CreateContentRequest.Builder clone()
Overrides
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];
getContentOrBuilder()
public ContentOrBuilder getContentOrBuilder()
Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateContentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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
|
mergeFrom(CreateContentRequest other)
public CreateContentRequest.Builder mergeFrom(CreateContentRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateContentRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The parent to set.
|
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 | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | boolean
The validateOnly to set.
|