Class ServingAPIProto.Job.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • clear

        public ServingAPIProto.Job.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • getDefaultInstanceForType

        public ServingAPIProto.Job getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ServingAPIProto.Job build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ServingAPIProto.Job buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ServingAPIProto.Job.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • setField

        public ServingAPIProto.Job.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • clearField

        public ServingAPIProto.Job.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • clearOneof

        public ServingAPIProto.Job.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • addRepeatedField

        public ServingAPIProto.Job.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • mergeFrom

        public ServingAPIProto.Job.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServingAPIProto.Job.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServingAPIProto.Job.Builder>
        Throws:
        IOException
      • 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:
        getTypeValue in interface ServingAPIProto.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.
      • 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:
        getStatusValue in interface ServingAPIProto.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.
      • 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:
        getError in interface ServingAPIProto.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:
        getErrorBytes in interface ServingAPIProto.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:
        getFileUrisList in interface ServingAPIProto.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:
        getFileUrisCount in interface ServingAPIProto.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:
        getFileUris in interface ServingAPIProto.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:
        getFileUrisBytes in interface ServingAPIProto.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:
        getDataFormatValue in interface ServingAPIProto.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.
      • 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:
        hasDatasetFeatureStatisticsList in interface ServingAPIProto.JobOrBuilder
        Returns:
        Whether the datasetFeatureStatisticsList field is set.
      • 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;
      • setUnknownFields

        public final ServingAPIProto.Job.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>
      • mergeUnknownFields

        public final ServingAPIProto.Job.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.Job.Builder>