public static final class CreateGlossaryTermRequest.Builder extends GeneratedMessage.Builder<CreateGlossaryTermRequest.Builder> implements CreateGlossaryTermRequestOrBuilderCreates a new GlossaryTerm under the specified Glossary.
Protobuf type google.cloud.dataplex.v1.CreateGlossaryTermRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateGlossaryTermRequest.BuilderImplements
CreateGlossaryTermRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateGlossaryTermRequest build()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest |
|
buildPartial()
public CreateGlossaryTermRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest |
|
clear()
public CreateGlossaryTermRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
clearParent()
public CreateGlossaryTermRequest.Builder clearParent() Required. The parent resource where the GlossaryTerm will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where location_id refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
This builder for chaining. |
clearTerm()
public CreateGlossaryTermRequest.Builder clearTerm()Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
clearTermId()
public CreateGlossaryTermRequest.Builder clearTermId()Required. GlossaryTerm identifier.
string term_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateGlossaryTermRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where the GlossaryTerm will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where location_id 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 the GlossaryTerm will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where location_id 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. |
getTerm()
public GlossaryTerm getTerm()Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GlossaryTerm |
The term. |
getTermBuilder()
public GlossaryTerm.Builder getTermBuilder()Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GlossaryTerm.Builder |
|
getTermId()
public String getTermId()Required. GlossaryTerm identifier.
string term_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The termId. |
getTermIdBytes()
public ByteString getTermIdBytes()Required. GlossaryTerm identifier.
string term_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for termId. |
getTermOrBuilder()
public GlossaryTermOrBuilder getTermOrBuilder()Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GlossaryTermOrBuilder |
|
hasTerm()
public boolean hasTerm()Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the term field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateGlossaryTermRequest other)
public CreateGlossaryTermRequest.Builder mergeFrom(CreateGlossaryTermRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateGlossaryTermRequest |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateGlossaryTermRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateGlossaryTermRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
mergeTerm(GlossaryTerm value)
public CreateGlossaryTermRequest.Builder mergeTerm(GlossaryTerm value)Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GlossaryTerm |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
setParent(String value)
public CreateGlossaryTermRequest.Builder setParent(String value) Required. The parent resource where the GlossaryTerm will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where location_id 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 |
CreateGlossaryTermRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateGlossaryTermRequest.Builder setParentBytes(ByteString value) Required. The parent resource where the GlossaryTerm will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
where location_id 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 |
CreateGlossaryTermRequest.Builder |
This builder for chaining. |
setTerm(GlossaryTerm value)
public CreateGlossaryTermRequest.Builder setTerm(GlossaryTerm value)Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GlossaryTerm |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
setTerm(GlossaryTerm.Builder builderForValue)
public CreateGlossaryTermRequest.Builder setTerm(GlossaryTerm.Builder builderForValue)Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GlossaryTerm.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
|
setTermId(String value)
public CreateGlossaryTermRequest.Builder setTermId(String value)Required. GlossaryTerm identifier.
string term_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe termId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
This builder for chaining. |
setTermIdBytes(ByteString value)
public CreateGlossaryTermRequest.Builder setTermIdBytes(ByteString value)Required. GlossaryTerm identifier.
string term_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for termId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGlossaryTermRequest.Builder |
This builder for chaining. |