Class UpdateLabelRequest (0.52.0)

public final class UpdateLabelRequest extends GeneratedMessage implements UpdateLabelRequestOrBuilder

Request object for UpdateLabel method.

Protobuf type google.ads.admanager.v1.UpdateLabelRequest

Static Fields

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateLabelRequest getDefaultInstance()
Returns
Type Description
UpdateLabelRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateLabelRequest.Builder newBuilder()
Returns
Type Description
UpdateLabelRequest.Builder

newBuilder(UpdateLabelRequest prototype)

public static UpdateLabelRequest.Builder newBuilder(UpdateLabelRequest prototype)
Parameter
Name Description
prototype UpdateLabelRequest
Returns
Type Description
UpdateLabelRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateLabelRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateLabelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateLabelRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateLabelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateLabelRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateLabelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateLabelRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateLabelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateLabelRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateLabelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateLabelRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateLabelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLabelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateLabelRequest> parser()
Returns
Type Description
Parser<UpdateLabelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateLabelRequest getDefaultInstanceForType()
Returns
Type Description
UpdateLabelRequest

getLabel()

public Label getLabel()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Label

The label.

getLabelOrBuilder()

public LabelOrBuilder getLabelOrBuilder()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LabelOrBuilder

getParserForType()

public Parser<UpdateLabelRequest> getParserForType()
Returns
Type Description
Parser<UpdateLabelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasLabel()

public boolean hasLabel()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the label field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateLabelRequest.Builder newBuilderForType()
Returns
Type Description
UpdateLabelRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateLabelRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateLabelRequest.Builder
Overrides

toBuilder()

public UpdateLabelRequest.Builder toBuilder()
Returns
Type Description
UpdateLabelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException