Class UserActionReference (3.31.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.v1.UserActionReference

Static Fields

DATA_LABELING_JOB_FIELD_NUMBER

public static final int DATA_LABELING_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UserActionReference getDefaultInstance()
Returns
TypeDescription
UserActionReference

getDescriptor()

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

newBuilder()

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

newBuilder(UserActionReference prototype)

public static UserActionReference.Builder newBuilder(UserActionReference prototype)
Parameter
NameDescription
prototypeUserActionReference
Returns
TypeDescription
UserActionReference.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataLabelingJob.

getDefaultInstanceForType()

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

The bytes for operation.

getParserForType()

public Parser<UserActionReference> getParserForType()
Returns
TypeDescription
Parser<UserActionReference>
Overrides

getReferenceCase()

public UserActionReference.ReferenceCase getReferenceCase()
Returns
TypeDescription
UserActionReference.ReferenceCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the operation field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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