Class CreateEntryGroupRequest.Builder (1.40.0)

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

Create EntryGroup Request

Protobuf type google.cloud.dataplex.v1.CreateEntryGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEntryGroupRequest build()
Returns
Type Description
CreateEntryGroupRequest

buildPartial()

public CreateEntryGroupRequest buildPartial()
Returns
Type Description
CreateEntryGroupRequest

clear()

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

clearEntryGroup()

public CreateEntryGroupRequest.Builder clearEntryGroup()

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEntryGroupRequest.Builder

clearEntryGroupId()

public CreateEntryGroupRequest.Builder clearEntryGroupId()

Required. EntryGroup identifier.

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

Returns
Type Description
CreateEntryGroupRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEntryGroupRequest.Builder clearParent()

Required. The resource name of the entryGroup, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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

Returns
Type Description
CreateEntryGroupRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateEntryGroupRequest.Builder clearValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateEntryGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEntryGroupRequest getDefaultInstanceForType()
Returns
Type Description
CreateEntryGroupRequest

getDescriptorForType()

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

getEntryGroup()

public EntryGroup getEntryGroup()

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryGroup

The entryGroup.

getEntryGroupBuilder()

public EntryGroup.Builder getEntryGroupBuilder()

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryGroup.Builder

getEntryGroupId()

public String getEntryGroupId()

Required. EntryGroup identifier.

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

Returns
Type Description
String

The entryGroupId.

getEntryGroupIdBytes()

public ByteString getEntryGroupIdBytes()

Required. EntryGroup identifier.

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

Returns
Type Description
ByteString

The bytes for entryGroupId.

getEntryGroupOrBuilder()

public EntryGroupOrBuilder getEntryGroupOrBuilder()

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryGroupOrBuilder

getParent()

public String getParent()

Required. The resource name of the entryGroup, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the entryGroup, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public boolean getValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasEntryGroup()

public boolean hasEntryGroup()

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the entryGroup field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntryGroup(EntryGroup value)

public CreateEntryGroupRequest.Builder mergeEntryGroup(EntryGroup value)

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntryGroup
Returns
Type Description
CreateEntryGroupRequest.Builder

mergeFrom(CreateEntryGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntryGroup(EntryGroup value)

public CreateEntryGroupRequest.Builder setEntryGroup(EntryGroup value)

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntryGroup
Returns
Type Description
CreateEntryGroupRequest.Builder

setEntryGroup(EntryGroup.Builder builderForValue)

public CreateEntryGroupRequest.Builder setEntryGroup(EntryGroup.Builder builderForValue)

Required. EntryGroup Resource

.google.cloud.dataplex.v1.EntryGroup entry_group = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EntryGroup.Builder
Returns
Type Description
CreateEntryGroupRequest.Builder

setEntryGroupId(String value)

public CreateEntryGroupRequest.Builder setEntryGroupId(String value)

Required. EntryGroup identifier.

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

Parameter
Name Description
value String

The entryGroupId to set.

Returns
Type Description
CreateEntryGroupRequest.Builder

This builder for chaining.

setEntryGroupIdBytes(ByteString value)

public CreateEntryGroupRequest.Builder setEntryGroupIdBytes(ByteString value)

Required. EntryGroup identifier.

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

Parameter
Name Description
value ByteString

The bytes for entryGroupId to set.

Returns
Type Description
CreateEntryGroupRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEntryGroupRequest.Builder setParent(String value)

Required. The resource name of the entryGroup, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEntryGroupRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEntryGroupRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the entryGroup, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateEntryGroupRequest.Builder setValidateOnly(boolean value)

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateEntryGroupRequest.Builder

This builder for chaining.