Class UserActionReference.Builder (3.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UserActionReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UserActionReference.Builder
Overrides

build()

public UserActionReference build()
Returns
TypeDescription
UserActionReference

buildPartial()

public UserActionReference buildPartial()
Returns
TypeDescription
UserActionReference

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UserActionReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UserActionReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UserActionReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UserActionReference.Builder

This builder for chaining.

clearReference()

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

getReferenceCase()

public UserActionReference.ReferenceCase getReferenceCase()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UserActionReference other)

public UserActionReference.Builder mergeFrom(UserActionReference other)
Parameter
NameDescription
otherUserActionReference
Returns
TypeDescription
UserActionReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UserActionReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserActionReference.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UserActionReference.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UserActionReference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserActionReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataLabelingJob to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataLabelingJob to set.

Returns
TypeDescription
UserActionReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UserActionReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The method to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for method to set.

Returns
TypeDescription
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
NameDescription
valueString

The operation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for operation to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UserActionReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UserActionReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UserActionReference.Builder
Overrides