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
Fields
public static final int DATA_LABELING_JOB_FIELD_NUMBER
Field Value
public static final int METHOD_FIELD_NUMBER
Field Value
public static final int OPERATION_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.
|
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.
|
public static UserActionReference getDefaultInstance()
Returns
public UserActionReference getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
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.
|
public ByteString getMethodBytes()
The method name of the API RPC call. For example,
"/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"
string method = 3;
Returns
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.
|
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
public Parser<UserActionReference> getParserForType()
Returns
Overrides
public UserActionReference.ReferenceCase getReferenceCase()
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static UserActionReference.Builder newBuilder()
Returns
public static UserActionReference.Builder newBuilder(UserActionReference prototype)
Parameter
Returns
public UserActionReference.Builder newBuilderForType()
Returns
protected UserActionReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static UserActionReference parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UserActionReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UserActionReference parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UserActionReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UserActionReference parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UserActionReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UserActionReference parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UserActionReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UserActionReference parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UserActionReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UserActionReference parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UserActionReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UserActionReference> parser()
Returns
public UserActionReference.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions