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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateContentRequest build()
Returns
buildPartial()
public CreateContentRequest buildPartial()
Returns
clear()
public CreateContentRequest.Builder clear()
Returns
Overrides
clearContent()
public CreateContentRequest.Builder clearContent()
Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
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
clone()
public CreateContentRequest.Builder clone()
Returns
Overrides
getContent()
public Content getContent()
Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getContentBuilder()
public Content.Builder getContentBuilder()
Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getContentOrBuilder()
public ContentOrBuilder getContentOrBuilder()
Required. Content resource.
.google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateContentRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateContentRequest other)
public CreateContentRequest.Builder mergeFrom(CreateContentRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateContentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns