Class CreateEntryRequest.Builder (1.11.0)

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

Request message for CreateEntry.

Protobuf type google.cloud.datacatalog.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. The entry to create.

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

Returns
TypeDescription
CreateEntryRequest.Builder

clearEntryId()

public CreateEntryRequest.Builder clearEntryId()

Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

string entry_id = 3 [(.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 name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.

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. The entry to create.

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

Returns
TypeDescription
Entry

The entry.

getEntryBuilder()

public Entry.Builder getEntryBuilder()

Required. The entry to create.

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

Returns
TypeDescription
Entry.Builder

getEntryId()

public String getEntryId()

Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

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

Returns
TypeDescription
String

The entryId.

getEntryIdBytes()

public ByteString getEntryIdBytes()

Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

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

Returns
TypeDescription
ByteString

The bytes for entryId.

getEntryOrBuilder()

public EntryOrBuilder getEntryOrBuilder()

Required. The entry to create.

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

Returns
TypeDescription
EntryOrBuilder

getParent()

public String getParent()

Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasEntry()

public boolean hasEntry()

Required. The entry to create.

.google.cloud.datacatalog.v1.Entry entry = 2 [(.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. The entry to create.

.google.cloud.datacatalog.v1.Entry entry = 2 [(.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. The entry to create.

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

Parameter
NameDescription
valueEntry
Returns
TypeDescription
CreateEntryRequest.Builder

setEntry(Entry.Builder builderForValue)

public CreateEntryRequest.Builder setEntry(Entry.Builder builderForValue)

Required. The entry to create.

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

Parameter
NameDescription
builderForValueEntry.Builder
Returns
TypeDescription
CreateEntryRequest.Builder

setEntryId(String value)

public CreateEntryRequest.Builder setEntryId(String value)

Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

string entry_id = 3 [(.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. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

string entry_id = 3 [(.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 name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.

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 name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.

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