public static final class CreateGlossaryCategoryRequest.Builder extends GeneratedMessage.Builder<CreateGlossaryCategoryRequest.Builder> implements CreateGlossaryCategoryRequestOrBuilderCreates a new GlossaryCategory under the specified Glossary.
Protobuf type google.cloud.dataplex.v1.CreateGlossaryCategoryRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateGlossaryCategoryRequest.BuilderImplements
CreateGlossaryCategoryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateGlossaryCategoryRequest build()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest |
|
buildPartial()
public CreateGlossaryCategoryRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest |
|
clear()
public CreateGlossaryCategoryRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
clearCategory()
public CreateGlossaryCategoryRequest.Builder clearCategory()Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
clearCategoryId()
public CreateGlossaryCategoryRequest.Builder clearCategoryId()Required. GlossaryCategory identifier.
string category_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
This builder for chaining. |
clearParent()
public CreateGlossaryCategoryRequest.Builder clearParent() Required. The parent resource where this GlossaryCategory will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where locationId refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
This builder for chaining. |
getCategory()
public GlossaryCategory getCategory()Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GlossaryCategory |
The category. |
getCategoryBuilder()
public GlossaryCategory.Builder getCategoryBuilder()Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GlossaryCategory.Builder |
|
getCategoryId()
public String getCategoryId()Required. GlossaryCategory identifier.
string category_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The categoryId. |
getCategoryIdBytes()
public ByteString getCategoryIdBytes()Required. GlossaryCategory identifier.
string category_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for categoryId. |
getCategoryOrBuilder()
public GlossaryCategoryOrBuilder getCategoryOrBuilder()Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GlossaryCategoryOrBuilder |
|
getDefaultInstanceForType()
public CreateGlossaryCategoryRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where this GlossaryCategory will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where locationId refers to a Google Cloud 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 parent resource where this GlossaryCategory will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where locationId refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasCategory()
public boolean hasCategory()Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the category field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCategory(GlossaryCategory value)
public CreateGlossaryCategoryRequest.Builder mergeCategory(GlossaryCategory value)Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GlossaryCategory |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
mergeFrom(CreateGlossaryCategoryRequest other)
public CreateGlossaryCategoryRequest.Builder mergeFrom(CreateGlossaryCategoryRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateGlossaryCategoryRequest |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateGlossaryCategoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateGlossaryCategoryRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
setCategory(GlossaryCategory value)
public CreateGlossaryCategoryRequest.Builder setCategory(GlossaryCategory value)Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GlossaryCategory |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
setCategory(GlossaryCategory.Builder builderForValue)
public CreateGlossaryCategoryRequest.Builder setCategory(GlossaryCategory.Builder builderForValue)Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GlossaryCategory.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
|
setCategoryId(String value)
public CreateGlossaryCategoryRequest.Builder setCategoryId(String value)Required. GlossaryCategory identifier.
string category_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe categoryId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
This builder for chaining. |
setCategoryIdBytes(ByteString value)
public CreateGlossaryCategoryRequest.Builder setCategoryIdBytes(ByteString value)Required. GlossaryCategory identifier.
string category_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for categoryId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateGlossaryCategoryRequest.Builder setParent(String value) Required. The parent resource where this GlossaryCategory will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where locationId refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateGlossaryCategoryRequest.Builder setParentBytes(ByteString value) Required. The parent resource where this GlossaryCategory will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where locationId refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryCategoryRequest.Builder |
This builder for chaining. |