public static final class NamedTensorProto.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder> implements NamedTensorProtoOrBuilder
A pair of tensor name and tensor values.Protobuf type
tensorflow.NamedTensorProto| Modifier and Type | Method and Description |
|---|---|
NamedTensorProto.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
NamedTensorProto |
build() |
NamedTensorProto |
buildPartial() |
NamedTensorProto.Builder |
clear() |
NamedTensorProto.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
NamedTensorProto.Builder |
clearName()
Name of the tensor.
|
NamedTensorProto.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
NamedTensorProto.Builder |
clearTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
clone() |
NamedTensorProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the tensor.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Name of the tensor.
|
TensorProto |
getTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
TensorProto.Builder |
getTensorBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
TensorProtoOrBuilder |
getTensorOrBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
boolean |
hasTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NamedTensorProto.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
NamedTensorProto.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
NamedTensorProto.Builder |
mergeFrom(NamedTensorProto other) |
NamedTensorProto.Builder |
mergeTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
NamedTensorProto.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
NamedTensorProto.Builder |
setName(String value)
Name of the tensor.
|
NamedTensorProto.Builder |
setNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the tensor.
|
NamedTensorProto.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
NamedTensorProto.Builder |
setTensor(TensorProto.Builder builderForValue)
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
setTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic NamedTensorProto build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic NamedTensorProto buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic NamedTensorProto.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder mergeFrom(NamedTensorProto other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<NamedTensorProto.Builder>IOExceptionpublic String getName()
Name of the tensor.
string name = 1;getName in interface NamedTensorProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
Name of the tensor.
string name = 1;getNameBytes in interface NamedTensorProtoOrBuilderpublic NamedTensorProto.Builder setName(String value)
Name of the tensor.
string name = 1;public NamedTensorProto.Builder clearName()
Name of the tensor.
string name = 1;public NamedTensorProto.Builder setNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the tensor.
string name = 1;public boolean hasTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;hasTensor in interface NamedTensorProtoOrBuilderpublic TensorProto getTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;getTensor in interface NamedTensorProtoOrBuilderpublic NamedTensorProto.Builder setTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public NamedTensorProto.Builder setTensor(TensorProto.Builder builderForValue)
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public NamedTensorProto.Builder mergeTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public NamedTensorProto.Builder clearTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public TensorProto.Builder getTensorBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public TensorProtoOrBuilder getTensorOrBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;getTensorOrBuilder in interface NamedTensorProtoOrBuilderpublic final NamedTensorProto.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public final NamedTensorProto.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NamedTensorProto.Builder>Copyright © 2018. All rights reserved.