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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int DATA_LABELING_JOB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int METHOD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OPERATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static UserActionReference getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static UserActionReference.Builder newBuilder()
public static UserActionReference.Builder newBuilder(UserActionReference prototype)
public static UserActionReference parseDelimitedFrom(InputStream input)
public static UserActionReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserActionReference parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static UserActionReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserActionReference parseFrom(ByteString data)
public static UserActionReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserActionReference parseFrom(CodedInputStream input)
public static UserActionReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserActionReference parseFrom(InputStream input)
public static UserActionReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserActionReference parseFrom(ByteBuffer data)
public static UserActionReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<UserActionReference> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 UserActionReference getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for method.
|
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 |
---|
Type | Description |
ByteString | The bytes for operation.
|
public Parser<UserActionReference> getParserForType()
Overrides
public UserActionReference.ReferenceCase getReferenceCase()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UserActionReference.Builder newBuilderForType()
protected UserActionReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public UserActionReference.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides