Class BatchUpdateUserLinksRequest (0.20.0)

public final class BatchUpdateUserLinksRequest extends GeneratedMessageV3 implements BatchUpdateUserLinksRequestOrBuilder

Request message for BatchUpdateUserLinks RPC.

Protobuf type google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchUpdateUserLinksRequest getDefaultInstance()
Returns
Type Description
BatchUpdateUserLinksRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchUpdateUserLinksRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchUpdateUserLinksRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateUserLinksRequest

getParent()

public String getParent()

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getRequests(int index)

public UpdateUserLinkRequest getRequests(int index)

Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateUserLinkRequest

getRequestsCount()

public int getRequestsCount()

Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<UpdateUserLinkRequest> getRequestsList()

Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<UpdateUserLinkRequest>

getRequestsOrBuilder(int index)

public UpdateUserLinkRequestOrBuilder getRequestsOrBuilder(int index)

Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateUserLinkRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateUserLinkRequestOrBuilder> getRequestsOrBuilderList()

Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchUpdateUserLinksRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchUpdateUserLinksRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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