Class BatchUpdateUserLinksRequest (0.21.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
TypeDescription
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchUpdateUserLinksRequest getDefaultInstance()
Returns
TypeDescription
BatchUpdateUserLinksRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchUpdateUserLinksRequest prototype)

public static BatchUpdateUserLinksRequest.Builder newBuilder(BatchUpdateUserLinksRequest prototype)
Parameter
NameDescription
prototypeBatchUpdateUserLinksRequest
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchUpdateUserLinksRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<BatchUpdateUserLinksRequest> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 BatchUpdateUserLinksRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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