public static final class CreateGlossaryTermRequest.Builder extends GeneratedMessageV3.Builder<CreateGlossaryTermRequest.Builder> implements CreateGlossaryTermRequestOrBuilder
Creates a new GlossaryTerm under the specified Glossary.
Protobuf type google.cloud.dataplex.v1.CreateGlossaryTermRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateGlossaryTermRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateGlossaryTermRequest build()
buildPartial()
public CreateGlossaryTermRequest buildPartial()
clear()
public CreateGlossaryTermRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGlossaryTermRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGlossaryTermRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clearTerm()
public CreateGlossaryTermRequest.Builder clearTerm()
Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
clearTermId()
public CreateGlossaryTermRequest.Builder clearTermId()
Required. GlossaryTerm identifier.
string term_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateGlossaryTermRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateGlossaryTermRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getTermBuilder()
public GlossaryTerm.Builder getTermBuilder()
Required. The GlossaryTerm to create.
.google.cloud.dataplex.v1.GlossaryTerm term = 3 [(.google.api.field_behavior) = REQUIRED];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateGlossaryTermRequest other)
public CreateGlossaryTermRequest.Builder mergeFrom(CreateGlossaryTermRequest other)
public CreateGlossaryTermRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateGlossaryTermRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryTermRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGlossaryTermRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGlossaryTermRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
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 |
String
The termId to set.
|
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 |
ByteString
The bytes for termId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryTermRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides