- 1.59.0 (latest)
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static final class CreateTagRequest.Builder extends GeneratedMessageV3.Builder<CreateTagRequest.Builder> implements CreateTagRequestOrBuilder
Request message for
[CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].
Protobuf type google.cloud.datacatalog.v1.CreateTagRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateTagRequest.BuilderImplements
CreateTagRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateTagRequest.Builder |
build()
public CreateTagRequest build()
Type | Description |
CreateTagRequest |
buildPartial()
public CreateTagRequest buildPartial()
Type | Description |
CreateTagRequest |
clear()
public CreateTagRequest.Builder clear()
Type | Description |
CreateTagRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateTagRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateTagRequest.Builder |
clearParent()
public CreateTagRequest.Builder clearParent()
Required. The name of the resource to attach this tag to.
Tags can be attached to entries or entry groups. An entry can have up to
1000 attached tags.
Note: The tag and its child resources might not be stored in
the location specified in its name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateTagRequest.Builder | This builder for chaining. |
clearTag()
public CreateTagRequest.Builder clearTag()
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateTagRequest.Builder |
clone()
public CreateTagRequest.Builder clone()
Type | Description |
CreateTagRequest.Builder |
getDefaultInstanceForType()
public CreateTagRequest getDefaultInstanceForType()
Type | Description |
CreateTagRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The name of the resource to attach this tag to.
Tags can be attached to entries or entry groups. An entry can have up to
1000 attached tags.
Note: The tag and its child resources might not be stored in
the location specified in its name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the resource to attach this tag to.
Tags can be attached to entries or entry groups. An entry can have up to
1000 attached tags.
Note: The tag and its child resources might not be stored in
the location specified in its name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getTag()
public Tag getTag()
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Tag | The tag. |
getTagBuilder()
public Tag.Builder getTagBuilder()
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Tag.Builder |
getTagOrBuilder()
public TagOrBuilder getTagOrBuilder()
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TagOrBuilder |
hasTag()
public boolean hasTag()
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the tag field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CreateTagRequest other)
public CreateTagRequest.Builder mergeFrom(CreateTagRequest other)
Name | Description |
other | CreateTagRequest |
Type | Description |
CreateTagRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTagRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateTagRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateTagRequest.Builder |
mergeTag(Tag value)
public CreateTagRequest.Builder mergeTag(Tag value)
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Tag |
Type | Description |
CreateTagRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateTagRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateTagRequest.Builder |
setParent(String value)
public CreateTagRequest.Builder setParent(String value)
Required. The name of the resource to attach this tag to.
Tags can be attached to entries or entry groups. An entry can have up to
1000 attached tags.
Note: The tag and its child resources might not be stored in
the location specified in its name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CreateTagRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateTagRequest.Builder setParentBytes(ByteString value)
Required. The name of the resource to attach this tag to.
Tags can be attached to entries or entry groups. An entry can have up to
1000 attached tags.
Note: The tag and its child resources might not be stored in
the location specified in its name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateTagRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTagRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateTagRequest.Builder |
setTag(Tag value)
public CreateTagRequest.Builder setTag(Tag value)
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Tag |
Type | Description |
CreateTagRequest.Builder |
setTag(Tag.Builder builderForValue)
public CreateTagRequest.Builder setTag(Tag.Builder builderForValue)
Required. The tag to create.
.google.cloud.datacatalog.v1.Tag tag = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Tag.Builder |
Type | Description |
CreateTagRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateTagRequest.Builder |