Package org.platanios.tensorflow.proto
Class Struct.NamedTupleValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Struct.NamedTupleValue.Builder>
-
- org.platanios.tensorflow.proto.Struct.NamedTupleValue.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
,Struct.NamedTupleValueOrBuilder
- Enclosing class:
- Struct.NamedTupleValue
public static final class Struct.NamedTupleValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Struct.NamedTupleValue.Builder> implements Struct.NamedTupleValueOrBuilder
Represents Python's namedtuple.
Protobuf typeorg.platanios.tensorflow.proto.NamedTupleValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Struct.NamedTupleValue.Builder
addAllValues(java.lang.Iterable<? extends Struct.PairValue> values)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Struct.NamedTupleValue.Builder
addValues(int index, Struct.PairValue value)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue.Builder
addValues(int index, Struct.PairValue.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue.Builder
addValues(Struct.PairValue value)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue.Builder
addValues(Struct.PairValue.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.PairValue.Builder
addValuesBuilder()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.PairValue.Builder
addValuesBuilder(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue
build()
Struct.NamedTupleValue
buildPartial()
Struct.NamedTupleValue.Builder
clear()
Struct.NamedTupleValue.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Struct.NamedTupleValue.Builder
clearName()
string name = 1;
Struct.NamedTupleValue.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Struct.NamedTupleValue.Builder
clearValues()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue.Builder
clone()
Struct.NamedTupleValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
Struct.PairValue
getValues(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.PairValue.Builder
getValuesBuilder(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
java.util.List<Struct.PairValue.Builder>
getValuesBuilderList()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
int
getValuesCount()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
java.util.List<Struct.PairValue>
getValuesList()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.PairValueOrBuilder
getValuesOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
java.util.List<? extends Struct.PairValueOrBuilder>
getValuesOrBuilderList()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Struct.NamedTupleValue.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Struct.NamedTupleValue.Builder
mergeFrom(com.google.protobuf.Message other)
Struct.NamedTupleValue.Builder
mergeFrom(Struct.NamedTupleValue other)
Struct.NamedTupleValue.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Struct.NamedTupleValue.Builder
removeValues(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Struct.NamedTupleValue.Builder
setName(java.lang.String value)
string name = 1;
Struct.NamedTupleValue.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
Struct.NamedTupleValue.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Struct.NamedTupleValue.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Struct.NamedTupleValue.Builder
setValues(int index, Struct.PairValue value)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
Struct.NamedTupleValue.Builder
setValues(int index, Struct.PairValue.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
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<Struct.NamedTupleValue.Builder>
-
clear
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
-
getDefaultInstanceForType
public Struct.NamedTupleValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Struct.NamedTupleValue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Struct.NamedTupleValue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
-
setField
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
-
clearField
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
-
clearOneof
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
-
setRepeatedField
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
-
addRepeatedField
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
-
mergeFrom
public Struct.NamedTupleValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Struct.NamedTupleValue.Builder>
-
mergeFrom
public Struct.NamedTupleValue.Builder mergeFrom(Struct.NamedTupleValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.NamedTupleValue.Builder>
-
mergeFrom
public Struct.NamedTupleValue.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<Struct.NamedTupleValue.Builder>
- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
string name = 1;
- Specified by:
getName
in interfaceStruct.NamedTupleValueOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceStruct.NamedTupleValueOrBuilder
- Returns:
- The bytes for name.
-
setName
public Struct.NamedTupleValue.Builder setName(java.lang.String value)
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Struct.NamedTupleValue.Builder clearName()
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Struct.NamedTupleValue.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getValuesList
public java.util.List<Struct.PairValue> getValuesList()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
- Specified by:
getValuesList
in interfaceStruct.NamedTupleValueOrBuilder
-
getValuesCount
public int getValuesCount()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
- Specified by:
getValuesCount
in interfaceStruct.NamedTupleValueOrBuilder
-
getValues
public Struct.PairValue getValues(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
- Specified by:
getValues
in interfaceStruct.NamedTupleValueOrBuilder
-
setValues
public Struct.NamedTupleValue.Builder setValues(int index, Struct.PairValue value)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
setValues
public Struct.NamedTupleValue.Builder setValues(int index, Struct.PairValue.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
addValues
public Struct.NamedTupleValue.Builder addValues(Struct.PairValue value)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
addValues
public Struct.NamedTupleValue.Builder addValues(int index, Struct.PairValue value)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
addValues
public Struct.NamedTupleValue.Builder addValues(Struct.PairValue.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
addValues
public Struct.NamedTupleValue.Builder addValues(int index, Struct.PairValue.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
addAllValues
public Struct.NamedTupleValue.Builder addAllValues(java.lang.Iterable<? extends Struct.PairValue> values)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
clearValues
public Struct.NamedTupleValue.Builder clearValues()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
removeValues
public Struct.NamedTupleValue.Builder removeValues(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
getValuesBuilder
public Struct.PairValue.Builder getValuesBuilder(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
getValuesOrBuilder
public Struct.PairValueOrBuilder getValuesOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
- Specified by:
getValuesOrBuilder
in interfaceStruct.NamedTupleValueOrBuilder
-
getValuesOrBuilderList
public java.util.List<? extends Struct.PairValueOrBuilder> getValuesOrBuilderList()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
- Specified by:
getValuesOrBuilderList
in interfaceStruct.NamedTupleValueOrBuilder
-
addValuesBuilder
public Struct.PairValue.Builder addValuesBuilder()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
addValuesBuilder
public Struct.PairValue.Builder addValuesBuilder(int index)
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
getValuesBuilderList
public java.util.List<Struct.PairValue.Builder> getValuesBuilderList()
repeated .org.platanios.tensorflow.proto.PairValue values = 2;
-
setUnknownFields
public final Struct.NamedTupleValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.NamedTupleValue.Builder>
-
mergeUnknownFields
public final Struct.NamedTupleValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.NamedTupleValue.Builder>
-
-