Class CreateEntryRequest.Builder (1.39.0)

public static final class CreateEntryRequest.Builder extends GeneratedMessageV3.Builder<CreateEntryRequest.Builder> implements CreateEntryRequestOrBuilder

Protobuf type google.cloud.dataplex.v1.CreateEntryRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEntryRequest build()
Returns
TypeDescription
CreateEntryRequest

buildPartial()

public CreateEntryRequest buildPartial()
Returns
TypeDescription
CreateEntryRequest

clear()

public CreateEntryRequest.Builder clear()
Returns
TypeDescription
CreateEntryRequest.Builder
Overrides

clearEntry()

public CreateEntryRequest.Builder clearEntry()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateEntryRequest.Builder

clearEntryId()

public CreateEntryRequest.Builder clearEntryId()

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

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

Returns
TypeDescription
CreateEntryRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateEntryRequest.Builder
Overrides

clearParent()

public CreateEntryRequest.Builder clearParent()

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

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

Returns
TypeDescription
CreateEntryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEntryRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEntryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntry()

public Entry getEntry()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Entry

The entry.

getEntryBuilder()

public Entry.Builder getEntryBuilder()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Entry.Builder

getEntryId()

public String getEntryId()

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

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

Returns
TypeDescription
String

The entryId.

getEntryIdBytes()

public ByteString getEntryIdBytes()

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

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

Returns
TypeDescription
ByteString

The bytes for entryId.

getEntryOrBuilder()

public EntryOrBuilder getEntryOrBuilder()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EntryOrBuilder

getParent()

public String getParent()

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

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 parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasEntry()

public boolean hasEntry()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the entry field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEntry(Entry value)

public CreateEntryRequest.Builder mergeEntry(Entry value)

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEntry
Returns
TypeDescription
CreateEntryRequest.Builder

mergeFrom(CreateEntryRequest other)

public CreateEntryRequest.Builder mergeFrom(CreateEntryRequest other)
Parameter
NameDescription
otherCreateEntryRequest
Returns
TypeDescription
CreateEntryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateEntryRequest.Builder
Overrides

setEntry(Entry value)

public CreateEntryRequest.Builder setEntry(Entry value)

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEntry
Returns
TypeDescription
CreateEntryRequest.Builder

setEntry(Entry.Builder builderForValue)

public CreateEntryRequest.Builder setEntry(Entry.Builder builderForValue)

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueEntry.Builder
Returns
TypeDescription
CreateEntryRequest.Builder

setEntryId(String value)

public CreateEntryRequest.Builder setEntryId(String value)

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

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

Parameter
NameDescription
valueString

The entryId to set.

Returns
TypeDescription
CreateEntryRequest.Builder

This builder for chaining.

setEntryIdBytes(ByteString value)

public CreateEntryRequest.Builder setEntryIdBytes(ByteString value)

Required. Entry identifier. It has to be unique within an Entry Group.

Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.

For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.

It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.

The maximum size of the field is 4000 characters.

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

Parameter
NameDescription
valueByteString

The bytes for entryId to set.

Returns
TypeDescription
CreateEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEntryRequest.Builder setParent(String value)

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateEntryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEntryRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateEntryRequest.Builder

This builder for chaining.

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

public CreateEntryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateEntryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateEntryRequest.Builder
Overrides