Class UpdateUserListRequest (0.8.0)

public final class UpdateUserListRequest extends GeneratedMessage implements UpdateUserListRequestOrBuilder

Request message for UpdateUserList.

Protobuf type google.ads.datamanager.v1.UpdateUserListRequest

Static Fields

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

USER_LIST_FIELD_NUMBER

public static final int USER_LIST_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateUserListRequest getDefaultInstance()
Returns
Type Description
UpdateUserListRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateUserListRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateUserListRequest getDefaultInstanceForType()
Returns
Type Description
UpdateUserListRequest

getParserForType()

public Parser<UpdateUserListRequest> getParserForType()
Returns
Type Description
Parser<UpdateUserListRequest>
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

getUserList()

public UserList getUserList()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserList

The userList.

getUserListOrBuilder()

public UserListOrBuilder getUserListOrBuilder()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserListOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. If true, the request is validated but not executed.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

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.

hasUserList()

public boolean hasUserList()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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