Send feedback
Class AccountLabel (0.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.17.0 keyboard_arrow_down
public final class AccountLabel extends GeneratedMessageV3 implements AccountLabelOrBuilder
Label assigned by CSS domain or CSS group to one of its sub-accounts.
Protobuf type google.shopping.css.v1.AccountLabel
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 ACCOUNT_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LABEL_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LABEL_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static AccountLabel getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static AccountLabel . Builder newBuilder ()
public static AccountLabel . Builder newBuilder ( AccountLabel prototype )
public static AccountLabel parseDelimitedFrom ( InputStream input )
public static AccountLabel parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AccountLabel parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static AccountLabel parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static AccountLabel parseFrom ( ByteString data )
public static AccountLabel parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AccountLabel parseFrom ( CodedInputStream input )
public static AccountLabel parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AccountLabel parseFrom ( InputStream input )
public static AccountLabel parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AccountLabel parseFrom ( ByteBuffer data )
public static AccountLabel parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<AccountLabel> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public long getAccountId ()
Output only. The ID of account this label belongs to.
int64 account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
long
The accountId.
public AccountLabel getDefaultInstanceForType ()
public String getDescription ()
The description of this label.
optional string description = 5;
Returns
Type
Description
String
The description.
public ByteString getDescriptionBytes ()
The description of this label.
optional string description = 5;
Returns
Type
Description
ByteString
The bytes for description.
public String getDisplayName ()
The display name of this label.
optional string display_name = 4;
Returns
Type
Description
String
The displayName.
public ByteString getDisplayNameBytes ()
The display name of this label.
optional string display_name = 4;
Returns
Type
Description
ByteString
The bytes for displayName.
Output only. The ID of the label.
int64 label_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
long
The labelId.
public AccountLabel . LabelType getLabelType ()
Output only. The type of this label.
.google.shopping.css.v1.AccountLabel.LabelType label_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getLabelTypeValue ()
Output only. The type of this label.
.google.shopping.css.v1.AccountLabel.LabelType label_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The enum numeric value on the wire for labelType.
The resource name of the label.
Format: accounts/{account}/labels/{label}
string name = 1;
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
The resource name of the label.
Format: accounts/{account}/labels/{label}
string name = 1;
Returns
Type
Description
ByteString
The bytes for name.
public Parser<AccountLabel> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasDescription ()
The description of this label.
optional string description = 5;
Returns
Type
Description
boolean
Whether the description field is set.
public boolean hasDisplayName ()
The display name of this label.
optional string display_name = 4;
Returns
Type
Description
boolean
Whether the displayName field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public AccountLabel . Builder newBuilderForType ()
protected AccountLabel . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public AccountLabel . 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-01-21 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-01-21 UTC."],[],[]]