Class DatasetOptions.Options
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.data.DatasetOptions.Options
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, DatasetOptions.OptionsOrBuilder
- Enclosing class:
DatasetOptions
public static final class DatasetOptions.Options
extends GeneratedMessageV3
implements DatasetOptions.OptionsOrBuilder
Message stored with Dataset objects to control how datasets are processed and optimized. next: 13Protobuf type
tensorflow.data.Options- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage stored with Dataset objects to control how datasets are processed and optimized. next: 13static enumstatic enumstatic enumstatic enumstatic enumstatic enumNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe autotune options associated with the dataset.The autotune options associated with the dataset.string dataset_name = 10;string dataset_name = 10;static DatasetOptions.Optionsstatic final Descriptors.Descriptorbooleanbool deterministic = 1;The distribution strategy options associated with the dataset.The distribution strategy options associated with the dataset..tensorflow.data.ExternalStatePolicy external_state_policy = 6;int.tensorflow.data.ExternalStatePolicy external_state_policy = 6;getFrameworkType(int index) List of frameworks used to generate this dataset.getFrameworkTypeBytes(int index) List of frameworks used to generate this dataset.intList of frameworks used to generate this dataset.List of frameworks used to generate this dataset.The optimization options associated with the dataset.The optimization options associated with the dataset.intThe tf.data service options associated with the dataset.The tf.data service options associated with the dataset.booleangetSlack()bool slack = 4;booleanbool symbolic_checkpoint = 8;The threading options associated with the dataset.The threading options associated with the dataset.final UnknownFieldSetbooleanbool warm_start = 9;booleanThe autotune options associated with the dataset.booleanstring dataset_name = 10;booleanbool deterministic = 1;booleanThe distribution strategy options associated with the dataset.boolean.tensorflow.data.ExternalStatePolicy external_state_policy = 6;inthashCode()booleanThe optimization options associated with the dataset.booleanThe tf.data service options associated with the dataset.booleanhasSlack()bool slack = 4;booleanbool symbolic_checkpoint = 8;booleanThe threading options associated with the dataset.booleanbool warm_start = 9;protected GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(DatasetOptions.Options prototype) protected DatasetOptions.Options.Builderprotected Objectstatic DatasetOptions.OptionsparseDelimitedFrom(InputStream input) static DatasetOptions.OptionsparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static DatasetOptions.OptionsparseFrom(byte[] data) static DatasetOptions.OptionsparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static DatasetOptions.OptionsparseFrom(ByteString data) static DatasetOptions.OptionsparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static DatasetOptions.OptionsparseFrom(CodedInputStream input) static DatasetOptions.OptionsparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static DatasetOptions.OptionsparseFrom(InputStream input) static DatasetOptions.OptionsparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static DatasetOptions.OptionsparseFrom(ByteBuffer data) static DatasetOptions.OptionsparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<DatasetOptions.Options> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
DATASET_NAME_FIELD_NUMBER
public static final int DATASET_NAME_FIELD_NUMBER- See Also:
-
FRAMEWORK_TYPE_FIELD_NUMBER
public static final int FRAMEWORK_TYPE_FIELD_NUMBER- See Also:
-
DETERMINISTIC_FIELD_NUMBER
public static final int DETERMINISTIC_FIELD_NUMBER- See Also:
-
AUTOTUNE_OPTIONS_FIELD_NUMBER
public static final int AUTOTUNE_OPTIONS_FIELD_NUMBER- See Also:
-
DISTRIBUTE_OPTIONS_FIELD_NUMBER
public static final int DISTRIBUTE_OPTIONS_FIELD_NUMBER- See Also:
-
OPTIMIZATION_OPTIONS_FIELD_NUMBER
public static final int OPTIMIZATION_OPTIONS_FIELD_NUMBER- See Also:
-
SERVICE_OPTIONS_FIELD_NUMBER
public static final int SERVICE_OPTIONS_FIELD_NUMBER- See Also:
-
SLACK_FIELD_NUMBER
public static final int SLACK_FIELD_NUMBER- See Also:
-
THREADING_OPTIONS_FIELD_NUMBER
public static final int THREADING_OPTIONS_FIELD_NUMBER- See Also:
-
EXTERNAL_STATE_POLICY_FIELD_NUMBER
public static final int EXTERNAL_STATE_POLICY_FIELD_NUMBER- See Also:
-
SYMBOLIC_CHECKPOINT_FIELD_NUMBER
public static final int SYMBOLIC_CHECKPOINT_FIELD_NUMBER- See Also:
-
WARM_START_FIELD_NUMBER
public static final int WARM_START_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getOptionalDatasetNameCase
- Specified by:
getOptionalDatasetNameCasein interfaceDatasetOptions.OptionsOrBuilder
-
getOptionalDeterministicCase
- Specified by:
getOptionalDeterministicCasein interfaceDatasetOptions.OptionsOrBuilder
-
getOptionalSlackCase
- Specified by:
getOptionalSlackCasein interfaceDatasetOptions.OptionsOrBuilder
-
getOptionalExternalStatePolicyCase
- Specified by:
getOptionalExternalStatePolicyCasein interfaceDatasetOptions.OptionsOrBuilder
-
getOptionalSymbolicCheckpointCase
- Specified by:
getOptionalSymbolicCheckpointCasein interfaceDatasetOptions.OptionsOrBuilder
-
getOptionalWarmStartCase
- Specified by:
getOptionalWarmStartCasein interfaceDatasetOptions.OptionsOrBuilder
-
hasDatasetName
public boolean hasDatasetName()string dataset_name = 10;- Specified by:
hasDatasetNamein interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the datasetName field is set.
-
getDatasetName
string dataset_name = 10;- Specified by:
getDatasetNamein interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The datasetName.
-
getDatasetNameBytes
string dataset_name = 10;- Specified by:
getDatasetNameBytesin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The bytes for datasetName.
-
getFrameworkTypeList
List of frameworks used to generate this dataset.
repeated string framework_type = 11;- Specified by:
getFrameworkTypeListin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- A list containing the frameworkType.
-
getFrameworkTypeCount
public int getFrameworkTypeCount()List of frameworks used to generate this dataset.
repeated string framework_type = 11;- Specified by:
getFrameworkTypeCountin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The count of frameworkType.
-
getFrameworkType
List of frameworks used to generate this dataset.
repeated string framework_type = 11;- Specified by:
getFrameworkTypein interfaceDatasetOptions.OptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The frameworkType at the given index.
-
getFrameworkTypeBytes
List of frameworks used to generate this dataset.
repeated string framework_type = 11;- Specified by:
getFrameworkTypeBytesin interfaceDatasetOptions.OptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the frameworkType at the given index.
-
hasDeterministic
public boolean hasDeterministic()bool deterministic = 1;- Specified by:
hasDeterministicin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the deterministic field is set.
-
getDeterministic
public boolean getDeterministic()bool deterministic = 1;- Specified by:
getDeterministicin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The deterministic.
-
hasAutotuneOptions
public boolean hasAutotuneOptions()The autotune options associated with the dataset.
.tensorflow.data.AutotuneOptions autotune_options = 7;- Specified by:
hasAutotuneOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the autotuneOptions field is set.
-
getAutotuneOptions
The autotune options associated with the dataset.
.tensorflow.data.AutotuneOptions autotune_options = 7;- Specified by:
getAutotuneOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The autotuneOptions.
-
getAutotuneOptionsOrBuilder
The autotune options associated with the dataset.
.tensorflow.data.AutotuneOptions autotune_options = 7;- Specified by:
getAutotuneOptionsOrBuilderin interfaceDatasetOptions.OptionsOrBuilder
-
hasDistributeOptions
public boolean hasDistributeOptions()The distribution strategy options associated with the dataset.
.tensorflow.data.DistributeOptions distribute_options = 2;- Specified by:
hasDistributeOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the distributeOptions field is set.
-
getDistributeOptions
The distribution strategy options associated with the dataset.
.tensorflow.data.DistributeOptions distribute_options = 2;- Specified by:
getDistributeOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The distributeOptions.
-
getDistributeOptionsOrBuilder
The distribution strategy options associated with the dataset.
.tensorflow.data.DistributeOptions distribute_options = 2;- Specified by:
getDistributeOptionsOrBuilderin interfaceDatasetOptions.OptionsOrBuilder
-
hasOptimizationOptions
public boolean hasOptimizationOptions()The optimization options associated with the dataset.
.tensorflow.data.OptimizationOptions optimization_options = 3;- Specified by:
hasOptimizationOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the optimizationOptions field is set.
-
getOptimizationOptions
The optimization options associated with the dataset.
.tensorflow.data.OptimizationOptions optimization_options = 3;- Specified by:
getOptimizationOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The optimizationOptions.
-
getOptimizationOptionsOrBuilder
The optimization options associated with the dataset.
.tensorflow.data.OptimizationOptions optimization_options = 3;- Specified by:
getOptimizationOptionsOrBuilderin interfaceDatasetOptions.OptionsOrBuilder
-
hasServiceOptions
public boolean hasServiceOptions()The tf.data service options associated with the dataset.
.tensorflow.data.ServiceOptions service_options = 12;- Specified by:
hasServiceOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the serviceOptions field is set.
-
getServiceOptions
The tf.data service options associated with the dataset.
.tensorflow.data.ServiceOptions service_options = 12;- Specified by:
getServiceOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The serviceOptions.
-
getServiceOptionsOrBuilder
The tf.data service options associated with the dataset.
.tensorflow.data.ServiceOptions service_options = 12;- Specified by:
getServiceOptionsOrBuilderin interfaceDatasetOptions.OptionsOrBuilder
-
hasSlack
public boolean hasSlack()bool slack = 4;- Specified by:
hasSlackin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the slack field is set.
-
getSlack
public boolean getSlack()bool slack = 4;- Specified by:
getSlackin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The slack.
-
hasThreadingOptions
public boolean hasThreadingOptions()The threading options associated with the dataset.
.tensorflow.data.ThreadingOptions threading_options = 5;- Specified by:
hasThreadingOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the threadingOptions field is set.
-
getThreadingOptions
The threading options associated with the dataset.
.tensorflow.data.ThreadingOptions threading_options = 5;- Specified by:
getThreadingOptionsin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The threadingOptions.
-
getThreadingOptionsOrBuilder
The threading options associated with the dataset.
.tensorflow.data.ThreadingOptions threading_options = 5;- Specified by:
getThreadingOptionsOrBuilderin interfaceDatasetOptions.OptionsOrBuilder
-
hasExternalStatePolicy
public boolean hasExternalStatePolicy().tensorflow.data.ExternalStatePolicy external_state_policy = 6;- Specified by:
hasExternalStatePolicyin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the externalStatePolicy field is set.
-
getExternalStatePolicyValue
public int getExternalStatePolicyValue().tensorflow.data.ExternalStatePolicy external_state_policy = 6;- Specified by:
getExternalStatePolicyValuein interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The enum numeric value on the wire for externalStatePolicy.
-
getExternalStatePolicy
.tensorflow.data.ExternalStatePolicy external_state_policy = 6;- Specified by:
getExternalStatePolicyin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The externalStatePolicy.
-
hasSymbolicCheckpoint
public boolean hasSymbolicCheckpoint()bool symbolic_checkpoint = 8;- Specified by:
hasSymbolicCheckpointin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the symbolicCheckpoint field is set.
-
getSymbolicCheckpoint
public boolean getSymbolicCheckpoint()bool symbolic_checkpoint = 8;- Specified by:
getSymbolicCheckpointin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The symbolicCheckpoint.
-
hasWarmStart
public boolean hasWarmStart()bool warm_start = 9;- Specified by:
hasWarmStartin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- Whether the warmStart field is set.
-
getWarmStart
public boolean getWarmStart()bool warm_start = 9;- Specified by:
getWarmStartin interfaceDatasetOptions.OptionsOrBuilder- Returns:
- The warmStart.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
public static DatasetOptions.Options parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.Options parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.Options parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.Options parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.Options parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DatasetOptions.Options parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DatasetOptions.Options parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DatasetOptions.Options parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-