Class CreateEntryTypeRequest.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateEntryTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateEntryTypeRequest.Builder
Overrides

build()

public CreateEntryTypeRequest build()
Returns
TypeDescription
CreateEntryTypeRequest

buildPartial()

public CreateEntryTypeRequest buildPartial()
Returns
TypeDescription
CreateEntryTypeRequest

clear()

public CreateEntryTypeRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateEntryTypeRequest.Builder

clearEntryTypeId()

public CreateEntryTypeRequest.Builder clearEntryTypeId()

Required. EntryType identifier.

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

Returns
TypeDescription
CreateEntryTypeRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateEntryTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateEntryTypeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateEntryTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateEntryTypeRequest.Builder

This builder for chaining.

clone()

public CreateEntryTypeRequest.Builder clone()
Returns
TypeDescription
CreateEntryTypeRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateEntryTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEntryTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntryType()

public EntryType getEntryType()

Required. EntryType Resource

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

Returns
TypeDescription
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
TypeDescription
EntryType.Builder

getEntryTypeId()

public String getEntryTypeId()

Required. EntryType identifier.

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

Returns
TypeDescription
String

The entryTypeId.

getEntryTypeIdBytes()

public ByteString getEntryTypeIdBytes()

Required. EntryType identifier.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The validateOnly.

hasEntryType()

public boolean hasEntryType()

Required. EntryType Resource

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

Returns
TypeDescription
boolean

Whether the entryType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEntryType
Returns
TypeDescription
CreateEntryTypeRequest.Builder

mergeFrom(CreateEntryTypeRequest other)

public CreateEntryTypeRequest.Builder mergeFrom(CreateEntryTypeRequest other)
Parameter
NameDescription
otherCreateEntryTypeRequest
Returns
TypeDescription
CreateEntryTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateEntryTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntryTypeRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateEntryTypeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateEntryTypeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateEntryTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEntryType
Returns
TypeDescription
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
NameDescription
builderForValueEntryType.Builder
Returns
TypeDescription
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
NameDescription
valueString

The entryTypeId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for entryTypeId to set.

Returns
TypeDescription
CreateEntryTypeRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateEntryTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateEntryTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateEntryTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
CreateEntryTypeRequest.Builder

This builder for chaining.