Package org.platanios.tensorflow.proto
Class AttrValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AttrValue.Builder>
-
- org.platanios.tensorflow.proto.AttrValue.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
,AttrValueOrBuilder
- Enclosing class:
- AttrValue
public static final class AttrValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttrValue.Builder> implements AttrValueOrBuilder
Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.
Protobuf typeorg.platanios.tensorflow.proto.AttrValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttrValue.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AttrValue
build()
AttrValue
buildPartial()
AttrValue.Builder
clear()
AttrValue.Builder
clearB()
"bool"AttrValue.Builder
clearF()
"float"AttrValue.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AttrValue.Builder
clearFunc()
"func" represents a function.AttrValue.Builder
clearI()
"int"AttrValue.Builder
clearList()
any "list(...)"AttrValue.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttrValue.Builder
clearPlaceholder()
This is a placeholder only used in nodes defined inside a function.AttrValue.Builder
clearS()
"string"AttrValue.Builder
clearShape()
"shape"AttrValue.Builder
clearTensor()
"tensor"AttrValue.Builder
clearType()
"type"AttrValue.Builder
clearValue()
AttrValue.Builder
clone()
boolean
getB()
"bool"AttrValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
float
getF()
"float"NameAttrList
getFunc()
"func" represents a function.NameAttrList.Builder
getFuncBuilder()
"func" represents a function.NameAttrListOrBuilder
getFuncOrBuilder()
"func" represents a function.long
getI()
"int"AttrValue.ListValue
getList()
any "list(...)"AttrValue.ListValue.Builder
getListBuilder()
any "list(...)"AttrValue.ListValueOrBuilder
getListOrBuilder()
any "list(...)"java.lang.String
getPlaceholder()
This is a placeholder only used in nodes defined inside a function.com.google.protobuf.ByteString
getPlaceholderBytes()
This is a placeholder only used in nodes defined inside a function.com.google.protobuf.ByteString
getS()
"string"TensorShapeProto
getShape()
"shape"TensorShapeProto.Builder
getShapeBuilder()
"shape"TensorShapeProtoOrBuilder
getShapeOrBuilder()
"shape"TensorProto
getTensor()
"tensor"TensorProto.Builder
getTensorBuilder()
"tensor"TensorProtoOrBuilder
getTensorOrBuilder()
"tensor"DataType
getType()
"type"int
getTypeValue()
"type"AttrValue.ValueCase
getValueCase()
boolean
hasFunc()
"func" represents a function.boolean
hasList()
any "list(...)"boolean
hasShape()
"shape"boolean
hasTensor()
"tensor"protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AttrValue.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue.Builder
mergeFrom(com.google.protobuf.Message other)
AttrValue.Builder
mergeFrom(AttrValue other)
AttrValue.Builder
mergeFunc(NameAttrList value)
"func" represents a function.AttrValue.Builder
mergeList(AttrValue.ListValue value)
any "list(...)"AttrValue.Builder
mergeShape(TensorShapeProto value)
"shape"AttrValue.Builder
mergeTensor(TensorProto value)
"tensor"AttrValue.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AttrValue.Builder
setB(boolean value)
"bool"AttrValue.Builder
setF(float value)
"float"AttrValue.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AttrValue.Builder
setFunc(NameAttrList value)
"func" represents a function.AttrValue.Builder
setFunc(NameAttrList.Builder builderForValue)
"func" represents a function.AttrValue.Builder
setI(long value)
"int"AttrValue.Builder
setList(AttrValue.ListValue value)
any "list(...)"AttrValue.Builder
setList(AttrValue.ListValue.Builder builderForValue)
any "list(...)"AttrValue.Builder
setPlaceholder(java.lang.String value)
This is a placeholder only used in nodes defined inside a function.AttrValue.Builder
setPlaceholderBytes(com.google.protobuf.ByteString value)
This is a placeholder only used in nodes defined inside a function.AttrValue.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AttrValue.Builder
setS(com.google.protobuf.ByteString value)
"string"AttrValue.Builder
setShape(TensorShapeProto value)
"shape"AttrValue.Builder
setShape(TensorShapeProto.Builder builderForValue)
"shape"AttrValue.Builder
setTensor(TensorProto value)
"tensor"AttrValue.Builder
setTensor(TensorProto.Builder builderForValue)
"tensor"AttrValue.Builder
setType(DataType value)
"type"AttrValue.Builder
setTypeValue(int value)
"type"AttrValue.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<AttrValue.Builder>
-
clear
public AttrValue.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<AttrValue.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<AttrValue.Builder>
-
getDefaultInstanceForType
public AttrValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttrValue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttrValue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttrValue.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<AttrValue.Builder>
-
setField
public AttrValue.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<AttrValue.Builder>
-
clearField
public AttrValue.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<AttrValue.Builder>
-
clearOneof
public AttrValue.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<AttrValue.Builder>
-
setRepeatedField
public AttrValue.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<AttrValue.Builder>
-
addRepeatedField
public AttrValue.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<AttrValue.Builder>
-
mergeFrom
public AttrValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttrValue.Builder>
-
mergeFrom
public AttrValue.Builder mergeFrom(AttrValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.Builder>
-
mergeFrom
public AttrValue.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<AttrValue.Builder>
- Throws:
java.io.IOException
-
getValueCase
public AttrValue.ValueCase getValueCase()
- Specified by:
getValueCase
in interfaceAttrValueOrBuilder
-
clearValue
public AttrValue.Builder clearValue()
-
getS
public com.google.protobuf.ByteString getS()
"string"
bytes s = 2;
- Specified by:
getS
in interfaceAttrValueOrBuilder
- Returns:
- The s.
-
setS
public AttrValue.Builder setS(com.google.protobuf.ByteString value)
"string"
bytes s = 2;
- Parameters:
value
- The s to set.- Returns:
- This builder for chaining.
-
clearS
public AttrValue.Builder clearS()
"string"
bytes s = 2;
- Returns:
- This builder for chaining.
-
getI
public long getI()
"int"
int64 i = 3;
- Specified by:
getI
in interfaceAttrValueOrBuilder
- Returns:
- The i.
-
setI
public AttrValue.Builder setI(long value)
"int"
int64 i = 3;
- Parameters:
value
- The i to set.- Returns:
- This builder for chaining.
-
clearI
public AttrValue.Builder clearI()
"int"
int64 i = 3;
- Returns:
- This builder for chaining.
-
getF
public float getF()
"float"
float f = 4;
- Specified by:
getF
in interfaceAttrValueOrBuilder
- Returns:
- The f.
-
setF
public AttrValue.Builder setF(float value)
"float"
float f = 4;
- Parameters:
value
- The f to set.- Returns:
- This builder for chaining.
-
clearF
public AttrValue.Builder clearF()
"float"
float f = 4;
- Returns:
- This builder for chaining.
-
getB
public boolean getB()
"bool"
bool b = 5;
- Specified by:
getB
in interfaceAttrValueOrBuilder
- Returns:
- The b.
-
setB
public AttrValue.Builder setB(boolean value)
"bool"
bool b = 5;
- Parameters:
value
- The b to set.- Returns:
- This builder for chaining.
-
clearB
public AttrValue.Builder clearB()
"bool"
bool b = 5;
- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
"type"
.org.platanios.tensorflow.proto.DataType type = 6;
- Specified by:
getTypeValue
in interfaceAttrValueOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public AttrValue.Builder setTypeValue(int value)
"type"
.org.platanios.tensorflow.proto.DataType type = 6;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public DataType getType()
"type"
.org.platanios.tensorflow.proto.DataType type = 6;
- Specified by:
getType
in interfaceAttrValueOrBuilder
- Returns:
- The type.
-
setType
public AttrValue.Builder setType(DataType value)
"type"
.org.platanios.tensorflow.proto.DataType type = 6;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public AttrValue.Builder clearType()
"type"
.org.platanios.tensorflow.proto.DataType type = 6;
- Returns:
- This builder for chaining.
-
hasShape
public boolean hasShape()
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
hasShape
in interfaceAttrValueOrBuilder
- Returns:
- Whether the shape field is set.
-
getShape
public TensorShapeProto getShape()
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShape
in interfaceAttrValueOrBuilder
- Returns:
- The shape.
-
setShape
public AttrValue.Builder setShape(TensorShapeProto value)
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
setShape
public AttrValue.Builder setShape(TensorShapeProto.Builder builderForValue)
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
mergeShape
public AttrValue.Builder mergeShape(TensorShapeProto value)
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
clearShape
public AttrValue.Builder clearShape()
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
getShapeBuilder
public TensorShapeProto.Builder getShapeBuilder()
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder()
"shape"
.org.platanios.tensorflow.proto.TensorShapeProto shape = 7;
- Specified by:
getShapeOrBuilder
in interfaceAttrValueOrBuilder
-
hasTensor
public boolean hasTensor()
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
hasTensor
in interfaceAttrValueOrBuilder
- Returns:
- Whether the tensor field is set.
-
getTensor
public TensorProto getTensor()
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensor
in interfaceAttrValueOrBuilder
- Returns:
- The tensor.
-
setTensor
public AttrValue.Builder setTensor(TensorProto value)
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
setTensor
public AttrValue.Builder setTensor(TensorProto.Builder builderForValue)
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
mergeTensor
public AttrValue.Builder mergeTensor(TensorProto value)
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
clearTensor
public AttrValue.Builder clearTensor()
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
getTensorBuilder
public TensorProto.Builder getTensorBuilder()
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
-
getTensorOrBuilder
public TensorProtoOrBuilder getTensorOrBuilder()
"tensor"
.org.platanios.tensorflow.proto.TensorProto tensor = 8;
- Specified by:
getTensorOrBuilder
in interfaceAttrValueOrBuilder
-
hasList
public boolean hasList()
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
- Specified by:
hasList
in interfaceAttrValueOrBuilder
- Returns:
- Whether the list field is set.
-
getList
public AttrValue.ListValue getList()
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
- Specified by:
getList
in interfaceAttrValueOrBuilder
- Returns:
- The list.
-
setList
public AttrValue.Builder setList(AttrValue.ListValue value)
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
-
setList
public AttrValue.Builder setList(AttrValue.ListValue.Builder builderForValue)
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
-
mergeList
public AttrValue.Builder mergeList(AttrValue.ListValue value)
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
-
clearList
public AttrValue.Builder clearList()
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
-
getListBuilder
public AttrValue.ListValue.Builder getListBuilder()
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
-
getListOrBuilder
public AttrValue.ListValueOrBuilder getListOrBuilder()
any "list(...)"
.org.platanios.tensorflow.proto.AttrValue.ListValue list = 1;
- Specified by:
getListOrBuilder
in interfaceAttrValueOrBuilder
-
hasFunc
public boolean hasFunc()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
- Specified by:
hasFunc
in interfaceAttrValueOrBuilder
- Returns:
- Whether the func field is set.
-
getFunc
public NameAttrList getFunc()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
- Specified by:
getFunc
in interfaceAttrValueOrBuilder
- Returns:
- The func.
-
setFunc
public AttrValue.Builder setFunc(NameAttrList value)
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
-
setFunc
public AttrValue.Builder setFunc(NameAttrList.Builder builderForValue)
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
-
mergeFunc
public AttrValue.Builder mergeFunc(NameAttrList value)
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
-
clearFunc
public AttrValue.Builder clearFunc()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
-
getFuncBuilder
public NameAttrList.Builder getFuncBuilder()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
-
getFuncOrBuilder
public NameAttrListOrBuilder getFuncOrBuilder()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.org.platanios.tensorflow.proto.NameAttrList func = 10;
- Specified by:
getFuncOrBuilder
in interfaceAttrValueOrBuilder
-
getPlaceholder
public java.lang.String getPlaceholder()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
- Specified by:
getPlaceholder
in interfaceAttrValueOrBuilder
- Returns:
- The placeholder.
-
getPlaceholderBytes
public com.google.protobuf.ByteString getPlaceholderBytes()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
- Specified by:
getPlaceholderBytes
in interfaceAttrValueOrBuilder
- Returns:
- The bytes for placeholder.
-
setPlaceholder
public AttrValue.Builder setPlaceholder(java.lang.String value)
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
- Parameters:
value
- The placeholder to set.- Returns:
- This builder for chaining.
-
clearPlaceholder
public AttrValue.Builder clearPlaceholder()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
- Returns:
- This builder for chaining.
-
setPlaceholderBytes
public AttrValue.Builder setPlaceholderBytes(com.google.protobuf.ByteString value)
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
- Parameters:
value
- The bytes for placeholder to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AttrValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.Builder>
-
mergeUnknownFields
public final AttrValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttrValue.Builder>
-
-