public static final class CreatePolicyTagRequest.Builder extends GeneratedMessage.Builder<CreatePolicyTagRequest.Builder> implements CreatePolicyTagRequestOrBuilderRequest message for CreatePolicyTag.
Protobuf type google.cloud.datacatalog.v1.CreatePolicyTagRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreatePolicyTagRequest.BuilderImplements
CreatePolicyTagRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreatePolicyTagRequest build()| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest |
|
buildPartial()
public CreatePolicyTagRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest |
|
clear()
public CreatePolicyTagRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|
clearParent()
public CreatePolicyTagRequest.Builder clearParent()Required. Resource name of the taxonomy that the policy tag will belong to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
This builder for chaining. |
clearPolicyTag()
public CreatePolicyTagRequest.Builder clearPolicyTag()The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|
getDefaultInstanceForType()
public CreatePolicyTagRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. Resource name of the taxonomy that the policy tag will belong to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Resource name of the taxonomy that the policy tag will belong to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getPolicyTag()
public PolicyTag getPolicyTag()The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Returns | |
|---|---|
| Type | Description |
PolicyTag |
The policyTag. |
getPolicyTagBuilder()
public PolicyTag.Builder getPolicyTagBuilder()The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Returns | |
|---|---|
| Type | Description |
PolicyTag.Builder |
|
getPolicyTagOrBuilder()
public PolicyTagOrBuilder getPolicyTagOrBuilder()The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Returns | |
|---|---|
| Type | Description |
PolicyTagOrBuilder |
|
hasPolicyTag()
public boolean hasPolicyTag()The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the policyTag field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreatePolicyTagRequest other)
public CreatePolicyTagRequest.Builder mergeFrom(CreatePolicyTagRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreatePolicyTagRequest |
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreatePolicyTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreatePolicyTagRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|
mergePolicyTag(PolicyTag value)
public CreatePolicyTagRequest.Builder mergePolicyTag(PolicyTag value)The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PolicyTag |
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|
setParent(String value)
public CreatePolicyTagRequest.Builder setParent(String value)Required. Resource name of the taxonomy that the policy tag will belong to.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreatePolicyTagRequest.Builder setParentBytes(ByteString value)Required. Resource name of the taxonomy that the policy tag will belong to.
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 |
CreatePolicyTagRequest.Builder |
This builder for chaining. |
setPolicyTag(PolicyTag value)
public CreatePolicyTagRequest.Builder setPolicyTag(PolicyTag value)The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PolicyTag |
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|
setPolicyTag(PolicyTag.Builder builderForValue)
public CreatePolicyTagRequest.Builder setPolicyTag(PolicyTag.Builder builderForValue)The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PolicyTag.Builder |
| Returns | |
|---|---|
| Type | Description |
CreatePolicyTagRequest.Builder |
|