CollectionDef.BytesList.Builder

public static final class CollectionDef.BytesList.Builder

 BytesList is used for collecting strings and serialized protobufs. For
 example:
 collection_def {
   key: "trainable_variables"
   value {
     bytes_list {
       value: "\n\017conv1/weights:0\022\024conv1/weights/Assign
              \032\024conv1/weights/read:0"
       value: "\n\016conv1/biases:0\022\023conv1/biases/Assign\032
              \023conv1/biases/read:0"
     }
   }
 }
 
Protobuf type tensorflow.CollectionDef.BytesList

Public Methods

CollectionDef.BytesList.Builder
addAllValue(Iterable<? extends ByteString> values)
repeated bytes value = 1;
CollectionDef.BytesList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CollectionDef.BytesList.Builder
addValue(com.google.protobuf.ByteString value)
repeated bytes value = 1;
CollectionDef.BytesList
build()
CollectionDef.BytesList
CollectionDef.BytesList.Builder
clear()
CollectionDef.BytesList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CollectionDef.BytesList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CollectionDef.BytesList.Builder
clearValue()
repeated bytes value = 1;
CollectionDef.BytesList.Builder
clone()
CollectionDef.BytesList
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
getValue(int index)
repeated bytes value = 1;
int
getValueCount()
repeated bytes value = 1;
List<ByteString>
getValueList()
repeated bytes value = 1;
final boolean
CollectionDef.BytesList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CollectionDef.BytesList.Builder
mergeFrom(com.google.protobuf.Message other)
final CollectionDef.BytesList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CollectionDef.BytesList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CollectionDef.BytesList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final CollectionDef.BytesList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CollectionDef.BytesList.Builder
setValue(int index, com.google.protobuf.ByteString value)
repeated bytes value = 1;

Inherited Methods

Public Methods

public CollectionDef.BytesList.Builder addAllValue (Iterable<? extends ByteString> values)

repeated bytes value = 1;

public CollectionDef.BytesList.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public CollectionDef.BytesList.Builder addValue (com.google.protobuf.ByteString value)

repeated bytes value = 1;

public CollectionDef.BytesList build ()

public CollectionDef.BytesList buildPartial ()

public CollectionDef.BytesList.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public CollectionDef.BytesList.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public CollectionDef.BytesList.Builder clearValue ()

repeated bytes value = 1;

public CollectionDef.BytesList getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public com.google.protobuf.ByteString getValue (int index)

repeated bytes value = 1;

public int getValueCount ()

repeated bytes value = 1;

public List<ByteString> getValueList ()

repeated bytes value = 1;

public final boolean isInitialized ()

public CollectionDef.BytesList.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public CollectionDef.BytesList.Builder mergeFrom (com.google.protobuf.Message other)

public final CollectionDef.BytesList.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public CollectionDef.BytesList.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public CollectionDef.BytesList.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final CollectionDef.BytesList.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public CollectionDef.BytesList.Builder setValue (int index, com.google.protobuf.ByteString value)

repeated bytes value = 1;