Send feedback
Class UpdateAccountLabelsRequest (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.0 keyboard_arrow_down
public final class UpdateAccountLabelsRequest extends GeneratedMessageV3 implements UpdateAccountLabelsRequestOrBuilder
The request message for the UpdateLabels
method.
Protobuf type google.shopping.css.v1.UpdateAccountLabelsRequest
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 LABEL_IDS_FIELD_NUMBER
Field Value Type Description int
public static final int NAME_FIELD_NUMBER
Field Value Type Description int
public static final int PARENT_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static UpdateAccountLabelsRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static UpdateAccountLabelsRequest . Builder newBuilder ()
public static UpdateAccountLabelsRequest . Builder newBuilder ( UpdateAccountLabelsRequest prototype )
public static UpdateAccountLabelsRequest parseDelimitedFrom ( InputStream input )
public static UpdateAccountLabelsRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateAccountLabelsRequest parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static UpdateAccountLabelsRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static UpdateAccountLabelsRequest parseFrom ( ByteString data )
public static UpdateAccountLabelsRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static UpdateAccountLabelsRequest parseFrom ( CodedInputStream input )
public static UpdateAccountLabelsRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateAccountLabelsRequest parseFrom ( InputStream input )
public static UpdateAccountLabelsRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateAccountLabelsRequest parseFrom ( ByteBuffer data )
public static UpdateAccountLabelsRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<UpdateAccountLabelsRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public UpdateAccountLabelsRequest getDefaultInstanceForType ()
public long getLabelIds ( int index )
The list of label IDs to overwrite the existing account label IDs.
If the list is empty, all currently assigned label IDs will be deleted.
repeated int64 label_ids = 2;
Parameter Name Description index
int
The index of the element to return.
Returns Type Description long
The labelIds at the given index.
public int getLabelIdsCount ()
The list of label IDs to overwrite the existing account label IDs.
If the list is empty, all currently assigned label IDs will be deleted.
repeated int64 label_ids = 2;
Returns Type Description int
The count of labelIds.
public List<Long> getLabelIdsList ()
The list of label IDs to overwrite the existing account label IDs.
If the list is empty, all currently assigned label IDs will be deleted.
repeated int64 label_ids = 2;
Returns Type Description List <Long >
A list containing the labelIds.
Required. The label resource name.
Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description String
The name.
public ByteString getNameBytes ()
Required. The label resource name.
Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description ByteString
The bytes for name.
public String getParent ()
Optional. Only required when updating MC account labels.
The CSS domain that is the parent resource of the MC account.
Format: accounts/{account}
optional string parent = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns Type Description String
The parent.
public ByteString getParentBytes ()
Optional. Only required when updating MC account labels.
The CSS domain that is the parent resource of the MC account.
Format: accounts/{account}
optional string parent = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns Type Description ByteString
The bytes for parent.
public Parser<UpdateAccountLabelsRequest> getParserForType ()
Overrides
public int getSerializedSize ()
Returns Type Description int
Overrides
public boolean hasParent ()
Optional. Only required when updating MC account labels.
The CSS domain that is the parent resource of the MC account.
Format: accounts/{account}
optional string parent = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns Type Description boolean
Whether the parent field is set.
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public UpdateAccountLabelsRequest . Builder newBuilderForType ()
protected UpdateAccountLabelsRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public UpdateAccountLabelsRequest . 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-28 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-28 UTC."],[],[]]