public static final class CreatePolicyTagRequest.Builder extends GeneratedMessageV3.Builder<CreatePolicyTagRequest.Builder> implements CreatePolicyTagRequestOrBuilder
Request message for
CreatePolicyTag.
Protobuf type google.cloud.datacatalog.v1beta1.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreatePolicyTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreatePolicyTagRequest build()
buildPartial()
public CreatePolicyTagRequest buildPartial()
clear()
public CreatePolicyTagRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreatePolicyTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreatePolicyTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clearPolicyTag()
public CreatePolicyTagRequest.Builder clearPolicyTag()
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
clone()
public CreatePolicyTagRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreatePolicyTagRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getPolicyTag()
public PolicyTag getPolicyTag()
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
Returns |
---|
Type | Description |
PolicyTag | The policyTag.
|
getPolicyTagBuilder()
public PolicyTag.Builder getPolicyTagBuilder()
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
getPolicyTagOrBuilder()
public PolicyTagOrBuilder getPolicyTagOrBuilder()
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
hasPolicyTag()
public boolean hasPolicyTag()
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
Returns |
---|
Type | Description |
boolean | Whether the policyTag field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreatePolicyTagRequest other)
public CreatePolicyTagRequest.Builder mergeFrom(CreatePolicyTagRequest other)
public CreatePolicyTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreatePolicyTagRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePolicyTag(PolicyTag value)
public CreatePolicyTagRequest.Builder mergePolicyTag(PolicyTag value)
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreatePolicyTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreatePolicyTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setPolicyTag(PolicyTag value)
public CreatePolicyTagRequest.Builder setPolicyTag(PolicyTag value)
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
setPolicyTag(PolicyTag.Builder builderForValue)
public CreatePolicyTagRequest.Builder setPolicyTag(PolicyTag.Builder builderForValue)
The policy tag to be created.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreatePolicyTagRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreatePolicyTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides