public static final class CreatePolicyTagRequest.Builder extends GeneratedMessageV3.Builder<CreatePolicyTagRequest.Builder> implements CreatePolicyTagRequestOrBuilder
Request message for
CreatePolicyTag.
Protobuf type google.cloud.datacatalog.v1.CreatePolicyTagRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreatePolicyTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreatePolicyTagRequest build()
Returns
buildPartial()
public CreatePolicyTagRequest buildPartial()
Returns
clear()
public CreatePolicyTagRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreatePolicyTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreatePolicyTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clearPolicyTag()
public CreatePolicyTagRequest.Builder clearPolicyTag()
The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
Returns
clone()
public CreatePolicyTagRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreatePolicyTagRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getPolicyTag()
public PolicyTag getPolicyTag()
The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
Returns
getPolicyTagBuilder()
public PolicyTag.Builder getPolicyTagBuilder()
The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
Returns
getPolicyTagOrBuilder()
public PolicyTagOrBuilder getPolicyTagOrBuilder()
The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreatePolicyTagRequest other)
public CreatePolicyTagRequest.Builder mergeFrom(CreatePolicyTagRequest other)
Parameter
Returns
public CreatePolicyTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreatePolicyTagRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePolicyTag(PolicyTag value)
public CreatePolicyTagRequest.Builder mergePolicyTag(PolicyTag value)
The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreatePolicyTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreatePolicyTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The parent to set.
|
Returns
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 | ByteString
The bytes for parent to set.
|
Returns
setPolicyTag(PolicyTag value)
public CreatePolicyTagRequest.Builder setPolicyTag(PolicyTag value)
The policy tag to create.
.google.cloud.datacatalog.v1.PolicyTag policy_tag = 2;
Parameter
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreatePolicyTagRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreatePolicyTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides