Package com.google.cloud.aiplatform.v1
Class UserActionReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UserActionReference.Builder>
com.google.cloud.aiplatform.v1.UserActionReference.Builder
- All Implemented Interfaces:
UserActionReferenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UserActionReference
public static final class UserActionReference.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()For API calls that start a LabelingJob.The method name of the API RPC call.For API calls that return a long running operation.For API calls that start a LabelingJob.com.google.protobuf.ByteStringFor API calls that start a LabelingJob.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe method name of the API RPC call.com.google.protobuf.ByteStringThe method name of the API RPC call.For API calls that return a long running operation.com.google.protobuf.ByteStringFor API calls that return a long running operation.booleanFor API calls that start a LabelingJob.booleanFor API calls that return a long running operation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UserActionReference other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDataLabelingJob(String value) For API calls that start a LabelingJob.setDataLabelingJobBytes(com.google.protobuf.ByteString value) For API calls that start a LabelingJob.The method name of the API RPC call.setMethodBytes(com.google.protobuf.ByteString value) The method name of the API RPC call.setOperation(String value) For API calls that return a long running operation.setOperationBytes(com.google.protobuf.ByteString value) For API calls that return a long running operation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UserActionReference.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UserActionReference.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UserActionReference.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserActionReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UserActionReference.Builder>
-
mergeFrom
public UserActionReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserActionReference.Builder>- Throws:
IOException
-
getReferenceCase
- Specified by:
getReferenceCasein interfaceUserActionReferenceOrBuilder
-
clearReference
-
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;- Specified by:
hasOperationin interfaceUserActionReferenceOrBuilder- Returns:
- Whether the operation field is set.
-
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;- Specified by:
getOperationin interfaceUserActionReferenceOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.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;- Specified by:
getOperationBytesin interfaceUserActionReferenceOrBuilder- Returns:
- The bytes for operation.
-
setOperation
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;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setOperationBytes
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;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasDataLabelingJobin interfaceUserActionReferenceOrBuilder- Returns:
- Whether the dataLabelingJob field is set.
-
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;- Specified by:
getDataLabelingJobin interfaceUserActionReferenceOrBuilder- Returns:
- The dataLabelingJob.
-
getDataLabelingJobBytes
public com.google.protobuf.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;- Specified by:
getDataLabelingJobBytesin interfaceUserActionReferenceOrBuilder- Returns:
- The bytes for dataLabelingJob.
-
setDataLabelingJob
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;- Parameters:
value- The dataLabelingJob to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDataLabelingJobBytes
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;- Parameters:
value- The bytes for dataLabelingJob to set.- Returns:
- This builder for chaining.
-
getMethod
The method name of the API RPC call. For example, "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"string method = 3;- Specified by:
getMethodin interfaceUserActionReferenceOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()The method name of the API RPC call. For example, "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"string method = 3;- Specified by:
getMethodBytesin interfaceUserActionReferenceOrBuilder- Returns:
- The bytes for method.
-
setMethod
The method name of the API RPC call. For example, "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"string method = 3;- Parameters:
value- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
The method name of the API RPC call. For example, "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"string method = 3;- Returns:
- This builder for chaining.
-
setMethodBytes
The method name of the API RPC call. For example, "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"string method = 3;- Parameters:
value- The bytes for method to set.- Returns:
- This builder for chaining.
-