Class CreateEntryGroupRequest.Builder (1.37.0)

public static final class CreateEntryGroupRequest.Builder extends GeneratedMessageV3.Builder<CreateEntryGroupRequest.Builder> implements CreateEntryGroupRequestOrBuilder

Request message for CreateEntryGroup.

Protobuf type google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEntryGroupRequest build()
Returns
TypeDescription
CreateEntryGroupRequest

buildPartial()

public CreateEntryGroupRequest buildPartial()
Returns
TypeDescription
CreateEntryGroupRequest

clear()

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

clearEntryGroup()

public CreateEntryGroupRequest.Builder clearEntryGroup()

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Returns
TypeDescription
CreateEntryGroupRequest.Builder

clearEntryGroupId()

public CreateEntryGroupRequest.Builder clearEntryGroupId()

Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.

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

Returns
TypeDescription
CreateEntryGroupRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEntryGroupRequest.Builder clearParent()

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

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

    Note that this EntryGroup 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
TypeDescription
CreateEntryGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEntryGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEntryGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntryGroup()

public EntryGroup getEntryGroup()

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Returns
TypeDescription
EntryGroup

The entryGroup.

getEntryGroupBuilder()

public EntryGroup.Builder getEntryGroupBuilder()

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Returns
TypeDescription
EntryGroup.Builder

getEntryGroupId()

public String getEntryGroupId()

Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.

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

Returns
TypeDescription
String

The entryGroupId.

getEntryGroupIdBytes()

public ByteString getEntryGroupIdBytes()

Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.

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

Returns
TypeDescription
ByteString

The bytes for entryGroupId.

getEntryGroupOrBuilder()

public EntryGroupOrBuilder getEntryGroupOrBuilder()

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Returns
TypeDescription
EntryGroupOrBuilder

getParent()

public String getParent()

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

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

    Note that this EntryGroup 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
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

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

    Note that this EntryGroup 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
TypeDescription
ByteString

The bytes for parent.

hasEntryGroup()

public boolean hasEntryGroup()

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Returns
TypeDescription
boolean

Whether the entryGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEntryGroup(EntryGroup value)

public CreateEntryGroupRequest.Builder mergeEntryGroup(EntryGroup value)

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Parameter
NameDescription
valueEntryGroup
Returns
TypeDescription
CreateEntryGroupRequest.Builder

mergeFrom(CreateEntryGroupRequest other)

public CreateEntryGroupRequest.Builder mergeFrom(CreateEntryGroupRequest other)
Parameter
NameDescription
otherCreateEntryGroupRequest
Returns
TypeDescription
CreateEntryGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntryGroup(EntryGroup value)

public CreateEntryGroupRequest.Builder setEntryGroup(EntryGroup value)

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Parameter
NameDescription
valueEntryGroup
Returns
TypeDescription
CreateEntryGroupRequest.Builder

setEntryGroup(EntryGroup.Builder builderForValue)

public CreateEntryGroupRequest.Builder setEntryGroup(EntryGroup.Builder builderForValue)

The entry group to create. Defaults to an empty entry group.

.google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2;

Parameter
NameDescription
builderForValueEntryGroup.Builder
Returns
TypeDescription
CreateEntryGroupRequest.Builder

setEntryGroupId(String value)

public CreateEntryGroupRequest.Builder setEntryGroupId(String value)

Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.

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

Parameter
NameDescription
valueString

The entryGroupId to set.

Returns
TypeDescription
CreateEntryGroupRequest.Builder

This builder for chaining.

setEntryGroupIdBytes(ByteString value)

public CreateEntryGroupRequest.Builder setEntryGroupIdBytes(ByteString value)

Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.

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

Parameter
NameDescription
valueByteString

The bytes for entryGroupId to set.

Returns
TypeDescription
CreateEntryGroupRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEntryGroupRequest.Builder setParent(String value)

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

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

    Note that this EntryGroup 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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateEntryGroupRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEntryGroupRequest.Builder setParentBytes(ByteString value)

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

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

    Note that this EntryGroup 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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateEntryGroupRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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