public static final class ListTagKeysResponse.Builder extends GeneratedMessageV3.Builder<ListTagKeysResponse.Builder> implements ListTagKeysResponseOrBuilder
The ListTagKeys response message.
Protobuf type google.cloud.resourcemanager.v3.ListTagKeysResponse
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
addAllTagKeys(Iterable<? extends TagKey> values)
public ListTagKeysResponse.Builder addAllTagKeys(Iterable<? extends TagKey> values)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.resourcemanager.v3.TagKey>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTagKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTagKeys(TagKey value)
public ListTagKeysResponse.Builder addTagKeys(TagKey value)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Returns
addTagKeys(TagKey.Builder builderForValue)
public ListTagKeysResponse.Builder addTagKeys(TagKey.Builder builderForValue)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Returns
addTagKeys(int index, TagKey value)
public ListTagKeysResponse.Builder addTagKeys(int index, TagKey value)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameters
Returns
addTagKeys(int index, TagKey.Builder builderForValue)
public ListTagKeysResponse.Builder addTagKeys(int index, TagKey.Builder builderForValue)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameters
Returns
addTagKeysBuilder()
public TagKey.Builder addTagKeysBuilder()
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Returns
addTagKeysBuilder(int index)
public TagKey.Builder addTagKeysBuilder(int index)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Returns
build()
public ListTagKeysResponse build()
Returns
buildPartial()
public ListTagKeysResponse buildPartial()
Returns
clear()
public ListTagKeysResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTagKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListTagKeysResponse.Builder clearNextPageToken()
A pagination token returned from a previous call to ListTagKeys
that indicates from where listing should continue.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTagKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTagKeys()
public ListTagKeysResponse.Builder clearTagKeys()
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Returns
clone()
public ListTagKeysResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListTagKeysResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A pagination token returned from a previous call to ListTagKeys
that indicates from where listing should continue.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A pagination token returned from a previous call to ListTagKeys
that indicates from where listing should continue.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getTagKeys(int index)
public TagKey getTagKeys(int index)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Returns
getTagKeysBuilder(int index)
public TagKey.Builder getTagKeysBuilder(int index)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Returns
getTagKeysBuilderList()
public List<TagKey.Builder> getTagKeysBuilderList()
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Returns
getTagKeysCount()
public int getTagKeysCount()
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Returns
getTagKeysList()
public List<TagKey> getTagKeysList()
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Returns
getTagKeysOrBuilder(int index)
public TagKeyOrBuilder getTagKeysOrBuilder(int index)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Returns
getTagKeysOrBuilderList()
public List<? extends TagKeyOrBuilder> getTagKeysOrBuilderList()
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Returns
Type | Description |
List<? extends com.google.cloud.resourcemanager.v3.TagKeyOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListTagKeysResponse other)
public ListTagKeysResponse.Builder mergeFrom(ListTagKeysResponse other)
Parameter
Returns
public ListTagKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListTagKeysResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTagKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTagKeys(int index)
public ListTagKeysResponse.Builder removeTagKeys(int index)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListTagKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListTagKeysResponse.Builder setNextPageToken(String value)
A pagination token returned from a previous call to ListTagKeys
that indicates from where listing should continue.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListTagKeysResponse.Builder setNextPageTokenBytes(ByteString value)
A pagination token returned from a previous call to ListTagKeys
that indicates from where listing should continue.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTagKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTagKeys(int index, TagKey value)
public ListTagKeysResponse.Builder setTagKeys(int index, TagKey value)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameters
Returns
setTagKeys(int index, TagKey.Builder builderForValue)
public ListTagKeysResponse.Builder setTagKeys(int index, TagKey.Builder builderForValue)
List of TagKeys that live under the specified parent in the request.
repeated .google.cloud.resourcemanager.v3.TagKey tag_keys = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTagKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides