Class UpdateUserListDirectLicenseRequest (0.8.0)

public final class UpdateUserListDirectLicenseRequest extends GeneratedMessage implements UpdateUserListDirectLicenseRequestOrBuilder

Request to update a UserListDirectLicense resource.

Protobuf type google.ads.datamanager.v1.UpdateUserListDirectLicenseRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UpdateUserListDirectLicenseRequest

Static Fields

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

USER_LIST_DIRECT_LICENSE_FIELD_NUMBER

public static final int USER_LIST_DIRECT_LICENSE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateUserListDirectLicenseRequest getDefaultInstance()
Returns
Type Description
UpdateUserListDirectLicenseRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateUserListDirectLicenseRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateUserListDirectLicenseRequest getDefaultInstanceForType()
Returns
Type Description
UpdateUserListDirectLicenseRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.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. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

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

Returns
Type Description
FieldMaskOrBuilder

getUserListDirectLicense()

public UserListDirectLicense getUserListDirectLicense()

Required. The licenses' name field is used to identify the license to update.

.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserListDirectLicense

The userListDirectLicense.

getUserListDirectLicenseOrBuilder()

public UserListDirectLicenseOrBuilder getUserListDirectLicenseOrBuilder()

Required. The licenses' name field is used to identify the license to update.

.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserListDirectLicenseOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

hasUserListDirectLicense()

public boolean hasUserListDirectLicense()

Required. The licenses' name field is used to identify the license to update.

.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userListDirectLicense 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 UpdateUserListDirectLicenseRequest.Builder newBuilderForType()
Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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