public static final class CreateGlossaryCategoryRequest.Builder extends GeneratedMessageV3.Builder<CreateGlossaryCategoryRequest.Builder> implements CreateGlossaryCategoryRequestOrBuilder
Creates a new GlossaryCategory under the specified Glossary.
Protobuf type google.cloud.dataplex.v1.CreateGlossaryCategoryRequest
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 CreateGlossaryCategoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateGlossaryCategoryRequest build()
buildPartial()
public CreateGlossaryCategoryRequest buildPartial()
clear()
public CreateGlossaryCategoryRequest.Builder clear()
Overrides
clearCategory()
public CreateGlossaryCategoryRequest.Builder clearCategory()
Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
clearCategoryId()
public CreateGlossaryCategoryRequest.Builder clearCategoryId()
Required. GlossaryCategory identifier.
string category_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateGlossaryCategoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGlossaryCategoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public CreateGlossaryCategoryRequest.Builder clone()
Overrides
getCategory()
public GlossaryCategory getCategory()
Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
getCategoryBuilder()
public GlossaryCategory.Builder getCategoryBuilder()
Required. The GlossaryCategory to create.
.google.cloud.dataplex.v1.GlossaryCategory category = 3 [(.google.api.field_behavior) = REQUIRED];
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];
getDefaultInstanceForType()
public CreateGlossaryCategoryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(CreateGlossaryCategoryRequest other)
public CreateGlossaryCategoryRequest.Builder mergeFrom(CreateGlossaryCategoryRequest other)
public CreateGlossaryCategoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateGlossaryCategoryRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryCategoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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 |
String
The categoryId to set.
|
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 |
ByteString
The bytes for categoryId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGlossaryCategoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGlossaryCategoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryCategoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides