Package feast.proto.serving
Class ServingAPIProto.Job.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
- feast.proto.serving.ServingAPIProto.Job.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ServingAPIProto.JobOrBuilder,Cloneable
- Enclosing class:
- ServingAPIProto.Job
public static final class ServingAPIProto.Job.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder> implements ServingAPIProto.JobOrBuilder
Protobuf typefeast.serving.Job
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
clear
public ServingAPIProto.Job.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.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.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
getDefaultInstanceForType
public ServingAPIProto.Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServingAPIProto.Job build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServingAPIProto.Job buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServingAPIProto.Job.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
setField
public ServingAPIProto.Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
clearField
public ServingAPIProto.Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
clearOneof
public ServingAPIProto.Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
setRepeatedField
public ServingAPIProto.Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
addRepeatedField
public ServingAPIProto.Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
mergeFrom
public ServingAPIProto.Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServingAPIProto.Job.Builder>
-
mergeFrom
public ServingAPIProto.Job.Builder mergeFrom(ServingAPIProto.Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
mergeFrom
public ServingAPIProto.Job.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<ServingAPIProto.Job.Builder>- Throws:
IOException
-
getId
public String getId()
string id = 1;- Specified by:
getIdin interfaceServingAPIProto.JobOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;- Specified by:
getIdBytesin interfaceServingAPIProto.JobOrBuilder- Returns:
- The bytes for id.
-
setId
public ServingAPIProto.Job.Builder setId(String value)
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ServingAPIProto.Job.Builder clearId()
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public ServingAPIProto.Job.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Output only. The type of the job.
.feast.serving.JobType type = 2;- Specified by:
getTypeValuein interfaceServingAPIProto.JobOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public ServingAPIProto.Job.Builder setTypeValue(int value)
Output only. The type of the job.
.feast.serving.JobType type = 2;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public ServingAPIProto.JobType getType()
Output only. The type of the job.
.feast.serving.JobType type = 2;- Specified by:
getTypein interfaceServingAPIProto.JobOrBuilder- Returns:
- The type.
-
setType
public ServingAPIProto.Job.Builder setType(ServingAPIProto.JobType value)
Output only. The type of the job.
.feast.serving.JobType type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ServingAPIProto.Job.Builder clearType()
Output only. The type of the job.
.feast.serving.JobType type = 2;- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Output only. Current state of the job.
.feast.serving.JobStatus status = 3;- Specified by:
getStatusValuein interfaceServingAPIProto.JobOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public ServingAPIProto.Job.Builder setStatusValue(int value)
Output only. Current state of the job.
.feast.serving.JobStatus status = 3;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public ServingAPIProto.JobStatus getStatus()
Output only. Current state of the job.
.feast.serving.JobStatus status = 3;- Specified by:
getStatusin interfaceServingAPIProto.JobOrBuilder- Returns:
- The status.
-
setStatus
public ServingAPIProto.Job.Builder setStatus(ServingAPIProto.JobStatus value)
Output only. Current state of the job.
.feast.serving.JobStatus status = 3;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ServingAPIProto.Job.Builder clearStatus()
Output only. Current state of the job.
.feast.serving.JobStatus status = 3;- Returns:
- This builder for chaining.
-
getError
public String getError()
Output only. If not empty, the job has failed with this error message.
string error = 4;- Specified by:
getErrorin interfaceServingAPIProto.JobOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()
Output only. If not empty, the job has failed with this error message.
string error = 4;- Specified by:
getErrorBytesin interfaceServingAPIProto.JobOrBuilder- Returns:
- The bytes for error.
-
setError
public ServingAPIProto.Job.Builder setError(String value)
Output only. If not empty, the job has failed with this error message.
string error = 4;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
public ServingAPIProto.Job.Builder clearError()
Output only. If not empty, the job has failed with this error message.
string error = 4;- Returns:
- This builder for chaining.
-
setErrorBytes
public ServingAPIProto.Job.Builder setErrorBytes(com.google.protobuf.ByteString value)
Output only. If not empty, the job has failed with this error message.
string error = 4;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-
getFileUrisList
public com.google.protobuf.ProtocolStringList getFileUrisList()
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Specified by:
getFileUrisListin interfaceServingAPIProto.JobOrBuilder- Returns:
- A list containing the fileUris.
-
getFileUrisCount
public int getFileUrisCount()
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Specified by:
getFileUrisCountin interfaceServingAPIProto.JobOrBuilder- Returns:
- The count of fileUris.
-
getFileUris
public String getFileUris(int index)
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Specified by:
getFileUrisin interfaceServingAPIProto.JobOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fileUris at the given index.
-
getFileUrisBytes
public com.google.protobuf.ByteString getFileUrisBytes(int index)
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Specified by:
getFileUrisBytesin interfaceServingAPIProto.JobOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fileUris at the given index.
-
setFileUris
public ServingAPIProto.Job.Builder setFileUris(int index, String value)
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Parameters:
index- The index to set the value at.value- The fileUris to set.- Returns:
- This builder for chaining.
-
addFileUris
public ServingAPIProto.Job.Builder addFileUris(String value)
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Parameters:
value- The fileUris to add.- Returns:
- This builder for chaining.
-
addAllFileUris
public ServingAPIProto.Job.Builder addAllFileUris(Iterable<String> values)
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Parameters:
values- The fileUris to add.- Returns:
- This builder for chaining.
-
clearFileUris
public ServingAPIProto.Job.Builder clearFileUris()
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Returns:
- This builder for chaining.
-
addFileUrisBytes
public ServingAPIProto.Job.Builder addFileUrisBytes(com.google.protobuf.ByteString value)
Output only. The list of URIs for the files to be downloaded or uploaded (depends on the job type) for this particular job.
repeated string file_uris = 5;- Parameters:
value- The bytes of the fileUris to add.- Returns:
- This builder for chaining.
-
getDataFormatValue
public int getDataFormatValue()
Output only. The data format for all the files. For CSV format, the files contain both feature values and a column header.
.feast.serving.DataFormat data_format = 6;- Specified by:
getDataFormatValuein interfaceServingAPIProto.JobOrBuilder- Returns:
- The enum numeric value on the wire for dataFormat.
-
setDataFormatValue
public ServingAPIProto.Job.Builder setDataFormatValue(int value)
Output only. The data format for all the files. For CSV format, the files contain both feature values and a column header.
.feast.serving.DataFormat data_format = 6;- Parameters:
value- The enum numeric value on the wire for dataFormat to set.- Returns:
- This builder for chaining.
-
getDataFormat
public ServingAPIProto.DataFormat getDataFormat()
Output only. The data format for all the files. For CSV format, the files contain both feature values and a column header.
.feast.serving.DataFormat data_format = 6;- Specified by:
getDataFormatin interfaceServingAPIProto.JobOrBuilder- Returns:
- The dataFormat.
-
setDataFormat
public ServingAPIProto.Job.Builder setDataFormat(ServingAPIProto.DataFormat value)
Output only. The data format for all the files. For CSV format, the files contain both feature values and a column header.
.feast.serving.DataFormat data_format = 6;- Parameters:
value- The dataFormat to set.- Returns:
- This builder for chaining.
-
clearDataFormat
public ServingAPIProto.Job.Builder clearDataFormat()
Output only. The data format for all the files. For CSV format, the files contain both feature values and a column header.
.feast.serving.DataFormat data_format = 6;- Returns:
- This builder for chaining.
-
hasDatasetFeatureStatisticsList
public boolean hasDatasetFeatureStatisticsList()
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;- Specified by:
hasDatasetFeatureStatisticsListin interfaceServingAPIProto.JobOrBuilder- Returns:
- Whether the datasetFeatureStatisticsList field is set.
-
getDatasetFeatureStatisticsList
public DatasetFeatureStatisticsList getDatasetFeatureStatisticsList()
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;- Specified by:
getDatasetFeatureStatisticsListin interfaceServingAPIProto.JobOrBuilder- Returns:
- The datasetFeatureStatisticsList.
-
setDatasetFeatureStatisticsList
public ServingAPIProto.Job.Builder setDatasetFeatureStatisticsList(DatasetFeatureStatisticsList value)
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;
-
setDatasetFeatureStatisticsList
public ServingAPIProto.Job.Builder setDatasetFeatureStatisticsList(DatasetFeatureStatisticsList.Builder builderForValue)
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;
-
mergeDatasetFeatureStatisticsList
public ServingAPIProto.Job.Builder mergeDatasetFeatureStatisticsList(DatasetFeatureStatisticsList value)
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;
-
clearDatasetFeatureStatisticsList
public ServingAPIProto.Job.Builder clearDatasetFeatureStatisticsList()
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;
-
getDatasetFeatureStatisticsListBuilder
public DatasetFeatureStatisticsList.Builder getDatasetFeatureStatisticsListBuilder()
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;
-
getDatasetFeatureStatisticsListOrBuilder
public DatasetFeatureStatisticsListOrBuilder getDatasetFeatureStatisticsListOrBuilder()
Output only. The statistics computed over the retrieved dataset. Only available for BigQuery stores.
.tensorflow.metadata.v0.DatasetFeatureStatisticsList dataset_feature_statistics_list = 7;- Specified by:
getDatasetFeatureStatisticsListOrBuilderin interfaceServingAPIProto.JobOrBuilder
-
setUnknownFields
public final ServingAPIProto.Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
mergeUnknownFields
public final ServingAPIProto.Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
-
-