Class CreateEntryRequest.Builder (1.57.0)

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

Request message for CreateEntry.

Protobuf type google.cloud.datacatalog.v1beta1.CreateEntryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEntryRequest build()
Returns
Type Description
CreateEntryRequest

buildPartial()

public CreateEntryRequest buildPartial()
Returns
Type Description
CreateEntryRequest

clear()

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

clearEntry()

public CreateEntryRequest.Builder clearEntry()

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEntryRequest.Builder

clearEntryId()

public CreateEntryRequest.Builder clearEntryId()

Required. The id of the entry to create.

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

Returns
Type Description
CreateEntryRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEntryRequest.Builder clearParent()

Required. The name of the entry group this entry is in. Example:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}

    Note that this Entry and its child resources may not actually be stored in the location in this name.

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

Returns
Type Description
CreateEntryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEntryRequest getDefaultInstanceForType()
Returns
Type Description
CreateEntryRequest

getDescriptorForType()

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

getEntry()

public Entry getEntry()

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Entry

The entry.

getEntryBuilder()

public Entry.Builder getEntryBuilder()

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Entry.Builder

getEntryId()

public String getEntryId()

Required. The id of the entry to create.

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

Returns
Type Description
String

The entryId.

getEntryIdBytes()

public ByteString getEntryIdBytes()

Required. The id of the entry to create.

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

Returns
Type Description
ByteString

The bytes for entryId.

getEntryOrBuilder()

public EntryOrBuilder getEntryOrBuilder()

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryOrBuilder

getParent()

public String getParent()

Required. The name of the entry group this entry is in. Example:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}

    Note that this Entry and its child resources may not actually be stored in the location in this name.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the entry group this entry is in. Example:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}

    Note that this Entry and its child resources may not actually be stored in the location in this name.

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

Returns
Type Description
ByteString

The bytes for parent.

hasEntry()

public boolean hasEntry()

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the entry field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntry(Entry value)

public CreateEntryRequest.Builder mergeEntry(Entry value)

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Entry
Returns
Type Description
CreateEntryRequest.Builder

mergeFrom(CreateEntryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntry(Entry value)

public CreateEntryRequest.Builder setEntry(Entry value)

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Entry
Returns
Type Description
CreateEntryRequest.Builder

setEntry(Entry.Builder builderForValue)

public CreateEntryRequest.Builder setEntry(Entry.Builder builderForValue)

Required. The entry to create.

.google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Entry.Builder
Returns
Type Description
CreateEntryRequest.Builder

setEntryId(String value)

public CreateEntryRequest.Builder setEntryId(String value)

Required. The id of the entry to create.

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

Parameter
Name Description
value String

The entryId to set.

Returns
Type Description
CreateEntryRequest.Builder

This builder for chaining.

setEntryIdBytes(ByteString value)

public CreateEntryRequest.Builder setEntryIdBytes(ByteString value)

Required. The id of the entry to create.

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

Parameter
Name Description
value ByteString

The bytes for entryId to set.

Returns
Type Description
CreateEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEntryRequest.Builder setParent(String value)

Required. The name of the entry group this entry is in. Example:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}

    Note that this Entry and its child resources may not actually be stored in the location in this name.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEntryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEntryRequest.Builder setParentBytes(ByteString value)

Required. The name of the entry group this entry is in. Example:

  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}

    Note that this Entry and its child resources may not actually be stored in the location in this name.

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
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateEntryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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