public static final class CreateEntryGroupRequest.Builder extends GeneratedMessageV3.Builder<CreateEntryGroupRequest.Builder> implements CreateEntryGroupRequestOrBuilder
Request message for
CreateEntryGroup.
Protobuf type google.cloud.datacatalog.v1.CreateEntryGroupRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateEntryGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateEntryGroupRequest build()
Returns
buildPartial()
public CreateEntryGroupRequest buildPartial()
Returns
clear()
public CreateEntryGroupRequest.Builder clear()
Returns
Overrides
clearEntryGroup()
public CreateEntryGroupRequest.Builder clearEntryGroup()
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Returns
clearEntryGroupId()
public CreateEntryGroupRequest.Builder clearEntryGroupId()
Required. The ID of the entry group to create.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateEntryGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEntryGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateEntryGroupRequest.Builder clearParent()
Required. The names of the project and location that the new entry group belongs to.
Note: The entry group 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 CreateEntryGroupRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateEntryGroupRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntryGroup()
public EntryGroup getEntryGroup()
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Returns
getEntryGroupBuilder()
public EntryGroup.Builder getEntryGroupBuilder()
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Returns
getEntryGroupId()
public String getEntryGroupId()
Required. The ID of the entry group to create.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The entryGroupId.
|
getEntryGroupIdBytes()
public ByteString getEntryGroupIdBytes()
Required. The ID of the entry group to create.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for entryGroupId.
|
getEntryGroupOrBuilder()
public EntryGroupOrBuilder getEntryGroupOrBuilder()
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Returns
getParent()
public String getParent()
Required. The names of the project and location that the new entry group belongs to.
Note: The entry group 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 names of the project and location that the new entry group belongs to.
Note: The entry group 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
hasEntryGroup()
public boolean hasEntryGroup()
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Returns
Type | Description |
boolean | Whether the entryGroup field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEntryGroup(EntryGroup value)
public CreateEntryGroupRequest.Builder mergeEntryGroup(EntryGroup value)
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Parameter
Returns
mergeFrom(CreateEntryGroupRequest other)
public CreateEntryGroupRequest.Builder mergeFrom(CreateEntryGroupRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateEntryGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateEntryGroupRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEntryGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEntryGroup(EntryGroup value)
public CreateEntryGroupRequest.Builder setEntryGroup(EntryGroup value)
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Parameter
Returns
setEntryGroup(EntryGroup.Builder builderForValue)
public CreateEntryGroupRequest.Builder setEntryGroup(EntryGroup.Builder builderForValue)
The entry group to create. Defaults to empty.
.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;
Parameter
Returns
setEntryGroupId(String value)
public CreateEntryGroupRequest.Builder setEntryGroupId(String value)
Required. The ID of the entry group to create.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The entryGroupId to set.
|
Returns
setEntryGroupIdBytes(ByteString value)
public CreateEntryGroupRequest.Builder setEntryGroupIdBytes(ByteString value)
Required. The ID of the entry group to create.
The ID must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and must start with a letter or underscore.
The maximum size is 64 bytes when encoded in UTF-8.
string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for entryGroupId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEntryGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateEntryGroupRequest.Builder setParent(String value)
Required. The names of the project and location that the new entry group belongs to.
Note: The entry group 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 CreateEntryGroupRequest.Builder setParentBytes(ByteString value)
Required. The names of the project and location that the new entry group belongs to.
Note: The entry group 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 CreateEntryGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEntryGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides