- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.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.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.6
- 1.4.0
- 1.3.2
- 1.2.12
public static final class TagBinding.Builder extends GeneratedMessageV3.Builder<TagBinding.Builder> implements TagBindingOrBuilder
A TagBinding represents a connection between a TagValue and a cloud resource (currently project, folder, or organization). Once a TagBinding is created, the TagValue is applied to all the descendants of the cloud resource.
Protobuf type google.cloud.resourcemanager.v3.TagBinding
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TagBinding.BuilderImplements
TagBindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TagBinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TagBinding.Builder |
build()
public TagBinding build()
Type | Description |
TagBinding |
buildPartial()
public TagBinding buildPartial()
Type | Description |
TagBinding |
clear()
public TagBinding.Builder clear()
Type | Description |
TagBinding.Builder |
clearField(Descriptors.FieldDescriptor field)
public TagBinding.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TagBinding.Builder |
clearName()
public TagBinding.Builder clearName()
Output only. The name of the TagBinding. This is a String of the form:
tagBindings/{full-resource-name}/{tag-value-name}
(e.g.
tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456
).
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TagBinding.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TagBinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TagBinding.Builder |
clearParent()
public TagBinding.Builder clearParent()
The full resource name of the resource the TagValue is bound to.
E.g. //cloudresourcemanager.googleapis.com/projects/123
string parent = 2;
Type | Description |
TagBinding.Builder | This builder for chaining. |
clearTagValue()
public TagBinding.Builder clearTagValue()
The TagValue of the TagBinding.
Must be of the form tagValues/456
.
string tag_value = 3;
Type | Description |
TagBinding.Builder | This builder for chaining. |
clone()
public TagBinding.Builder clone()
Type | Description |
TagBinding.Builder |
getDefaultInstanceForType()
public TagBinding getDefaultInstanceForType()
Type | Description |
TagBinding |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The name of the TagBinding. This is a String of the form:
tagBindings/{full-resource-name}/{tag-value-name}
(e.g.
tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456
).
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the TagBinding. This is a String of the form:
tagBindings/{full-resource-name}/{tag-value-name}
(e.g.
tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456
).
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getParent()
public String getParent()
The full resource name of the resource the TagValue is bound to.
E.g. //cloudresourcemanager.googleapis.com/projects/123
string parent = 2;
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
The full resource name of the resource the TagValue is bound to.
E.g. //cloudresourcemanager.googleapis.com/projects/123
string parent = 2;
Type | Description |
ByteString | The bytes for parent. |
getTagValue()
public String getTagValue()
The TagValue of the TagBinding.
Must be of the form tagValues/456
.
string tag_value = 3;
Type | Description |
String | The tagValue. |
getTagValueBytes()
public ByteString getTagValueBytes()
The TagValue of the TagBinding.
Must be of the form tagValues/456
.
string tag_value = 3;
Type | Description |
ByteString | The bytes for tagValue. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TagBinding other)
public TagBinding.Builder mergeFrom(TagBinding other)
Name | Description |
other | TagBinding |
Type | Description |
TagBinding.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TagBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TagBinding.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TagBinding.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TagBinding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TagBinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TagBinding.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TagBinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TagBinding.Builder |
setName(String value)
public TagBinding.Builder setName(String value)
Output only. The name of the TagBinding. This is a String of the form:
tagBindings/{full-resource-name}/{tag-value-name}
(e.g.
tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456
).
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
TagBinding.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public TagBinding.Builder setNameBytes(ByteString value)
Output only. The name of the TagBinding. This is a String of the form:
tagBindings/{full-resource-name}/{tag-value-name}
(e.g.
tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456
).
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
TagBinding.Builder | This builder for chaining. |
setParent(String value)
public TagBinding.Builder setParent(String value)
The full resource name of the resource the TagValue is bound to.
E.g. //cloudresourcemanager.googleapis.com/projects/123
string parent = 2;
Name | Description |
value | String The parent to set. |
Type | Description |
TagBinding.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public TagBinding.Builder setParentBytes(ByteString value)
The full resource name of the resource the TagValue is bound to.
E.g. //cloudresourcemanager.googleapis.com/projects/123
string parent = 2;
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
TagBinding.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TagBinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TagBinding.Builder |
setTagValue(String value)
public TagBinding.Builder setTagValue(String value)
The TagValue of the TagBinding.
Must be of the form tagValues/456
.
string tag_value = 3;
Name | Description |
value | String The tagValue to set. |
Type | Description |
TagBinding.Builder | This builder for chaining. |
setTagValueBytes(ByteString value)
public TagBinding.Builder setTagValueBytes(ByteString value)
The TagValue of the TagBinding.
Must be of the form tagValues/456
.
string tag_value = 3;
Name | Description |
value | ByteString The bytes for tagValue to set. |
Type | Description |
TagBinding.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TagBinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TagBinding.Builder |