Class UserActionReference (3.47.0)

public final class UserActionReference extends GeneratedMessageV3 implements UserActionReferenceOrBuilder

References an API call. It contains more information about long running operation and Jobs that are triggered by the API call.

Protobuf type google.cloud.aiplatform.v1beta1.UserActionReference

Static Fields

DATA_LABELING_JOB_FIELD_NUMBER

public static final int DATA_LABELING_JOB_FIELD_NUMBER
Field Value
Type Description
int

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UserActionReference getDefaultInstance()
Returns
Type Description
UserActionReference

getDescriptor()

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

newBuilder()

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

newBuilder(UserActionReference prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataLabelingJob()

public String getDataLabelingJob()

For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

string data_labeling_job = 2;

Returns
Type Description
String

The dataLabelingJob.

getDataLabelingJobBytes()

public ByteString getDataLabelingJobBytes()

For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

string data_labeling_job = 2;

Returns
Type Description
ByteString

The bytes for dataLabelingJob.

getDefaultInstanceForType()

public UserActionReference getDefaultInstanceForType()
Returns
Type Description
UserActionReference

getMethod()

public String getMethod()

The method name of the API RPC call. For example, "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"

string method = 3;

Returns
Type Description
String

The method.

getMethodBytes()

public ByteString getMethodBytes()

The method name of the API RPC call. For example, "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"

string method = 3;

Returns
Type Description
ByteString

The bytes for method.

getOperation()

public String getOperation()

For API calls that return a long running operation. Resource name of the long running operation. Format: projects/{project}/locations/{location}/operations/{operation}

string operation = 1;

Returns
Type Description
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

For API calls that return a long running operation. Resource name of the long running operation. Format: projects/{project}/locations/{location}/operations/{operation}

string operation = 1;

Returns
Type Description
ByteString

The bytes for operation.

getParserForType()

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

getReferenceCase()

public UserActionReference.ReferenceCase getReferenceCase()
Returns
Type Description
UserActionReference.ReferenceCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDataLabelingJob()

public boolean hasDataLabelingJob()

For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

string data_labeling_job = 2;

Returns
Type Description
boolean

Whether the dataLabelingJob field is set.

hasOperation()

public boolean hasOperation()

For API calls that return a long running operation. Resource name of the long running operation. Format: projects/{project}/locations/{location}/operations/{operation}

string operation = 1;

Returns
Type Description
boolean

Whether the operation field is set.

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 UserActionReference.Builder newBuilderForType()
Returns
Type Description
UserActionReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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