Package org.platanios.tensorflow.proto
Class TensorSliceProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
- org.platanios.tensorflow.proto.TensorSliceProto.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,TensorSliceProtoOrBuilder
- Enclosing class:
- TensorSliceProto
public static final class TensorSliceProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder> implements TensorSliceProtoOrBuilder
Can only be interpreted if you know the corresponding TensorShape.
Protobuf typeorg.platanios.tensorflow.proto.TensorSliceProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TensorSliceProto.Builder
addAllExtent(java.lang.Iterable<? extends TensorSliceProto.Extent> values)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
addExtent(int index, TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
addExtent(int index, TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
addExtent(TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
addExtent(TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions.TensorSliceProto.Extent.Builder
addExtentBuilder()
Extent of the slice in all tensor dimensions.TensorSliceProto.Extent.Builder
addExtentBuilder(int index)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TensorSliceProto
build()
TensorSliceProto
buildPartial()
TensorSliceProto.Builder
clear()
TensorSliceProto.Builder
clearExtent()
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TensorSliceProto.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TensorSliceProto.Builder
clone()
TensorSliceProto
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
TensorSliceProto.Extent
getExtent(int index)
Extent of the slice in all tensor dimensions.TensorSliceProto.Extent.Builder
getExtentBuilder(int index)
Extent of the slice in all tensor dimensions.java.util.List<TensorSliceProto.Extent.Builder>
getExtentBuilderList()
Extent of the slice in all tensor dimensions.int
getExtentCount()
Extent of the slice in all tensor dimensions.java.util.List<TensorSliceProto.Extent>
getExtentList()
Extent of the slice in all tensor dimensions.TensorSliceProto.ExtentOrBuilder
getExtentOrBuilder(int index)
Extent of the slice in all tensor dimensions.java.util.List<? extends TensorSliceProto.ExtentOrBuilder>
getExtentOrBuilderList()
Extent of the slice in all tensor dimensions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TensorSliceProto.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorSliceProto.Builder
mergeFrom(com.google.protobuf.Message other)
TensorSliceProto.Builder
mergeFrom(TensorSliceProto other)
TensorSliceProto.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TensorSliceProto.Builder
removeExtent(int index)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
setExtent(int index, TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
setExtent(int index, TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions.TensorSliceProto.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TensorSliceProto.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TensorSliceProto.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clear
public TensorSliceProto.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
getDefaultInstanceForType
public TensorSliceProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TensorSliceProto build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TensorSliceProto buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TensorSliceProto.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
setField
public TensorSliceProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearField
public TensorSliceProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearOneof
public TensorSliceProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
setRepeatedField
public TensorSliceProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
addRepeatedField
public TensorSliceProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(TensorSliceProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TensorSliceProto.Builder>
- Throws:
java.io.IOException
-
getExtentList
public java.util.List<TensorSliceProto.Extent> getExtentList()
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
- Specified by:
getExtentList
in interfaceTensorSliceProtoOrBuilder
-
getExtentCount
public int getExtentCount()
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
- Specified by:
getExtentCount
in interfaceTensorSliceProtoOrBuilder
-
getExtent
public TensorSliceProto.Extent getExtent(int index)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
- Specified by:
getExtent
in interfaceTensorSliceProtoOrBuilder
-
setExtent
public TensorSliceProto.Builder setExtent(int index, TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
setExtent
public TensorSliceProto.Builder setExtent(int index, TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
addExtent
public TensorSliceProto.Builder addExtent(TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
addExtent
public TensorSliceProto.Builder addExtent(int index, TensorSliceProto.Extent value)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
addExtent
public TensorSliceProto.Builder addExtent(TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
addExtent
public TensorSliceProto.Builder addExtent(int index, TensorSliceProto.Extent.Builder builderForValue)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
addAllExtent
public TensorSliceProto.Builder addAllExtent(java.lang.Iterable<? extends TensorSliceProto.Extent> values)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
clearExtent
public TensorSliceProto.Builder clearExtent()
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
removeExtent
public TensorSliceProto.Builder removeExtent(int index)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
getExtentBuilder
public TensorSliceProto.Extent.Builder getExtentBuilder(int index)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
getExtentOrBuilder
public TensorSliceProto.ExtentOrBuilder getExtentOrBuilder(int index)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
- Specified by:
getExtentOrBuilder
in interfaceTensorSliceProtoOrBuilder
-
getExtentOrBuilderList
public java.util.List<? extends TensorSliceProto.ExtentOrBuilder> getExtentOrBuilderList()
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
- Specified by:
getExtentOrBuilderList
in interfaceTensorSliceProtoOrBuilder
-
addExtentBuilder
public TensorSliceProto.Extent.Builder addExtentBuilder()
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
addExtentBuilder
public TensorSliceProto.Extent.Builder addExtentBuilder(int index)
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
getExtentBuilderList
public java.util.List<TensorSliceProto.Extent.Builder> getExtentBuilderList()
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .org.platanios.tensorflow.proto.TensorSliceProto.Extent extent = 1;
-
setUnknownFields
public final TensorSliceProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeUnknownFields
public final TensorSliceProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
-