Class CreateEntryTypeRequest.Builder (1.43.0)

public static final class CreateEntryTypeRequest.Builder extends GeneratedMessageV3.Builder<CreateEntryTypeRequest.Builder> implements CreateEntryTypeRequestOrBuilder

Create EntryType Request

Protobuf type google.cloud.dataplex.v1.CreateEntryTypeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateEntryTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

build()

public CreateEntryTypeRequest build()
Returns
Type Description
CreateEntryTypeRequest

buildPartial()

public CreateEntryTypeRequest buildPartial()
Returns
Type Description
CreateEntryTypeRequest

clear()

public CreateEntryTypeRequest.Builder clear()
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

clearEntryType()

public CreateEntryTypeRequest.Builder clearEntryType()

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEntryTypeRequest.Builder

clearEntryTypeId()

public CreateEntryTypeRequest.Builder clearEntryTypeId()

Required. EntryType identifier.

string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateEntryTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateEntryTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

clearParent()

public CreateEntryTypeRequest.Builder clearParent()

Required. The resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateEntryTypeRequest.Builder clearValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.

clone()

public CreateEntryTypeRequest.Builder clone()
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateEntryTypeRequest getDefaultInstanceForType()
Returns
Type Description
CreateEntryTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntryType()

public EntryType getEntryType()

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryType

The entryType.

getEntryTypeBuilder()

public EntryType.Builder getEntryTypeBuilder()

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryType.Builder

getEntryTypeId()

public String getEntryTypeId()

Required. EntryType identifier.

string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The entryTypeId.

getEntryTypeIdBytes()

public ByteString getEntryTypeIdBytes()

Required. EntryType identifier.

string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for entryTypeId.

getEntryTypeOrBuilder()

public EntryTypeOrBuilder getEntryTypeOrBuilder()

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryTypeOrBuilder

getParent()

public String getParent()

Required. The resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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 EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasEntryType()

public boolean hasEntryType()

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the entryType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntryType(EntryType value)

public CreateEntryTypeRequest.Builder mergeEntryType(EntryType value)

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntryType
Returns
Type Description
CreateEntryTypeRequest.Builder

mergeFrom(CreateEntryTypeRequest other)

public CreateEntryTypeRequest.Builder mergeFrom(CreateEntryTypeRequest other)
Parameter
Name Description
other CreateEntryTypeRequest
Returns
Type Description
CreateEntryTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateEntryTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateEntryTypeRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateEntryTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

setEntryType(EntryType value)

public CreateEntryTypeRequest.Builder setEntryType(EntryType value)

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntryType
Returns
Type Description
CreateEntryTypeRequest.Builder

setEntryType(EntryType.Builder builderForValue)

public CreateEntryTypeRequest.Builder setEntryType(EntryType.Builder builderForValue)

Required. EntryType Resource

.google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EntryType.Builder
Returns
Type Description
CreateEntryTypeRequest.Builder

setEntryTypeId(String value)

public CreateEntryTypeRequest.Builder setEntryTypeId(String value)

Required. EntryType identifier.

string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The entryTypeId to set.

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.

setEntryTypeIdBytes(ByteString value)

public CreateEntryTypeRequest.Builder setEntryTypeIdBytes(ByteString value)

Required. EntryType identifier.

string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for entryTypeId to set.

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateEntryTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

setParent(String value)

public CreateEntryTypeRequest.Builder setParent(String value)

Required. The resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEntryTypeRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateEntryTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateEntryTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEntryTypeRequest.Builder
Overrides

setValidateOnly(boolean value)

public CreateEntryTypeRequest.Builder setValidateOnly(boolean value)

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateEntryTypeRequest.Builder

This builder for chaining.