Class UpdateAccountLabelRequest (0.3.0)

public final class UpdateAccountLabelRequest extends GeneratedMessageV3 implements UpdateAccountLabelRequestOrBuilder

Request message for the UpdateAccountLabel method.

Protobuf type google.shopping.css.v1.UpdateAccountLabelRequest

Static Fields

ACCOUNT_LABEL_FIELD_NUMBER

public static final int ACCOUNT_LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateAccountLabelRequest getDefaultInstance()
Returns
TypeDescription
UpdateAccountLabelRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateAccountLabelRequest.Builder newBuilder()
Returns
TypeDescription
UpdateAccountLabelRequest.Builder

newBuilder(UpdateAccountLabelRequest prototype)

public static UpdateAccountLabelRequest.Builder newBuilder(UpdateAccountLabelRequest prototype)
Parameter
NameDescription
prototypeUpdateAccountLabelRequest
Returns
TypeDescription
UpdateAccountLabelRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateAccountLabelRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAccountLabelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateAccountLabelRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateAccountLabelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateAccountLabelRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateAccountLabelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateAccountLabelRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAccountLabelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateAccountLabelRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAccountLabelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateAccountLabelRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateAccountLabelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccountLabelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateAccountLabelRequest> parser()
Returns
TypeDescription
Parser<UpdateAccountLabelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccountLabel()

public AccountLabel getAccountLabel()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AccountLabel

The accountLabel.

getAccountLabelOrBuilder()

public AccountLabelOrBuilder getAccountLabelOrBuilder()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AccountLabelOrBuilder

getDefaultInstanceForType()

public UpdateAccountLabelRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAccountLabelRequest

getParserForType()

public Parser<UpdateAccountLabelRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateAccountLabelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAccountLabel()

public boolean hasAccountLabel()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the accountLabel field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateAccountLabelRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateAccountLabelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateAccountLabelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateAccountLabelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateAccountLabelRequest.Builder toBuilder()
Returns
TypeDescription
UpdateAccountLabelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException