Class UserActionReference.Builder (3.42.0)

public static final class UserActionReference.Builder extends GeneratedMessageV3.Builder<UserActionReference.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UserActionReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserActionReference.Builder
Overrides

build()

public UserActionReference build()
Returns
Type Description
UserActionReference

buildPartial()

public UserActionReference buildPartial()
Returns
Type Description
UserActionReference

clear()

public UserActionReference.Builder clear()
Returns
Type Description
UserActionReference.Builder
Overrides

clearDataLabelingJob()

public UserActionReference.Builder clearDataLabelingJob()

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
UserActionReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UserActionReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UserActionReference.Builder
Overrides

clearMethod()

public UserActionReference.Builder clearMethod()

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

string method = 3;

Returns
Type Description
UserActionReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UserActionReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UserActionReference.Builder
Overrides

clearOperation()

public UserActionReference.Builder clearOperation()

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
UserActionReference.Builder

This builder for chaining.

clearReference()

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getReferenceCase()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UserActionReference other)

public UserActionReference.Builder mergeFrom(UserActionReference other)
Parameter
Name Description
other UserActionReference
Returns
Type Description
UserActionReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UserActionReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserActionReference.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UserActionReference.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UserActionReference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserActionReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserActionReference.Builder
Overrides

setDataLabelingJob(String value)

public UserActionReference.Builder setDataLabelingJob(String value)

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;

Parameter
Name Description
value String

The dataLabelingJob to set.

Returns
Type Description
UserActionReference.Builder

This builder for chaining.

setDataLabelingJobBytes(ByteString value)

public UserActionReference.Builder setDataLabelingJobBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for dataLabelingJob to set.

Returns
Type Description
UserActionReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UserActionReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserActionReference.Builder
Overrides

setMethod(String value)

public UserActionReference.Builder setMethod(String value)

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

string method = 3;

Parameter
Name Description
value String

The method to set.

Returns
Type Description
UserActionReference.Builder

This builder for chaining.

setMethodBytes(ByteString value)

public UserActionReference.Builder setMethodBytes(ByteString value)

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

string method = 3;

Parameter
Name Description
value ByteString

The bytes for method to set.

Returns
Type Description
UserActionReference.Builder

This builder for chaining.

setOperation(String value)

public UserActionReference.Builder setOperation(String value)

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;

Parameter
Name Description
value String

The operation to set.

Returns
Type Description
UserActionReference.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public UserActionReference.Builder setOperationBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for operation to set.

Returns
Type Description
UserActionReference.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UserActionReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UserActionReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UserActionReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserActionReference.Builder
Overrides