public static final class CreateEntryRequest.Builder extends GeneratedMessageV3.Builder<CreateEntryRequest.Builder> implements CreateEntryRequestOrBuilder
Request message for
CreateEntry.
Protobuf type google.cloud.datacatalog.v1.CreateEntryRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateEntryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateEntryRequest build()
Returns
buildPartial()
public CreateEntryRequest buildPartial()
Returns
clear()
public CreateEntryRequest.Builder clear()
Returns
Overrides
clearEntry()
public CreateEntryRequest.Builder clearEntry()
Required. The entry to create.
.google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
clearField(Descriptors.FieldDescriptor field)
public CreateEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateEntryRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateEntryRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntry()
Required. The entry to create.
.google.cloud.datacatalog.v1.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.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Type | Description |
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
getEntryOrBuilder()
public EntryOrBuilder getEntryOrBuilder()
Required. The entry to create.
.google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Type | Description |
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
hasEntry()
public boolean hasEntry()
Required. The entry to create.
.google.cloud.datacatalog.v1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the entry field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Name | Description |
value | Entry
|
Returns
mergeFrom(CreateEntryRequest other)
public CreateEntryRequest.Builder mergeFrom(CreateEntryRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateEntryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateEntryRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | Entry
|
Returns
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
Returns
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
Name | Description |
value | String
The entryId to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for entryId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEntryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateEntryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides