Send feedback
Class Tags (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public final class Tags extends GeneratedMessageV3 implements TagsOrBuilder
A set of instance tags.
Protobuf type google.cloud.backupdr.v1.Tags
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ITEMS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Tags getDefaultInstance ()
Returns
Type
Description
Tags
public static final Descriptors . Descriptor getDescriptor ()
public static Tags . Builder newBuilder ()
public static Tags . Builder newBuilder ( Tags prototype )
Parameter
Name
Description
prototype
Tags
public static Tags parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Tags
public static Tags parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tags
public static Tags parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Tags
public static Tags parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tags
public static Tags parseFrom ( ByteString data )
Returns
Type
Description
Tags
public static Tags parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tags
public static Tags parseFrom ( CodedInputStream input )
Returns
Type
Description
Tags
public static Tags parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tags
public static Tags parseFrom ( InputStream input )
Returns
Type
Description
Tags
public static Tags parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tags
public static Tags parseFrom ( ByteBuffer data )
Returns
Type
Description
Tags
public static Tags parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tags
public static Parser<Tags> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Tags getDefaultInstanceForType ()
Returns
Type
Description
Tags
public String getItems ( int index )
Optional. An array of tags. Each tag must be 1-63 characters long, and
comply with RFC1035.
repeated string items = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The items at the given index.
public ByteString getItemsBytes ( int index )
Optional. An array of tags. Each tag must be 1-63 characters long, and
comply with RFC1035.
repeated string items = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the items at the given index.
public int getItemsCount ()
Optional. An array of tags. Each tag must be 1-63 characters long, and
comply with RFC1035.
repeated string items = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of items.
public ProtocolStringList getItemsList ()
Optional. An array of tags. Each tag must be 1-63 characters long, and
comply with RFC1035.
repeated string items = 1 [(.google.api.field_behavior) = OPTIONAL];
public Parser<Tags> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Tags . Builder newBuilderForType ()
protected Tags . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Tags . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]