public static final class
ValuesDef.Builder
Protocol buffer representing the values in ControlFlowContext.
tensorflow.ValuesDef
Public Methods
ValuesDef.Builder |
addAllValues(Iterable<String> values)
Value names that have been seen in this context. |
ValuesDef.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
ValuesDef.Builder |
addValues(String value)
Value names that have been seen in this context. |
ValuesDef.Builder |
addValuesBytes(com.google.protobuf.ByteString value)
Value names that have been seen in this context. |
ValuesDef |
build()
|
ValuesDef | |
ValuesDef.Builder |
clear()
|
ValuesDef.Builder | |
ValuesDef.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
ValuesDef.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
ValuesDef.Builder |
clearValues()
Value names that have been seen in this context. |
ValuesDef.Builder |
clone()
|
boolean |
containsExternalValues(String key)
Value names referenced by but external to this context. |
ValuesDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<String, String> |
getExternalValues()
Use
getExternalValuesMap() instead. |
int |
getExternalValuesCount()
Value names referenced by but external to this context. |
Map<String, String> |
getExternalValuesMap()
Value names referenced by but external to this context. |
String |
getExternalValuesOrDefault(String key, String defaultValue)
Value names referenced by but external to this context. |
String |
getExternalValuesOrThrow(String key)
Value names referenced by but external to this context. |
Map<String, String> |
getMutableExternalValues()
Use alternate mutation accessors instead.
|
String |
getValues(int index)
Value names that have been seen in this context. |
com.google.protobuf.ByteString |
getValuesBytes(int index)
Value names that have been seen in this context. |
int |
getValuesCount()
Value names that have been seen in this context. |
com.google.protobuf.ProtocolStringList |
getValuesList()
Value names that have been seen in this context. |
final boolean | |
ValuesDef.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
ValuesDef.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final ValuesDef.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
ValuesDef.Builder |
putAllExternalValues(Map<String, String> values)
Value names referenced by but external to this context. |
ValuesDef.Builder |
putExternalValues(String key, String value)
Value names referenced by but external to this context. |
ValuesDef.Builder |
removeExternalValues(String key)
Value names referenced by but external to this context. |
ValuesDef.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
ValuesDef.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final ValuesDef.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
ValuesDef.Builder |
setValues(int index, String value)
Value names that have been seen in this context. |
Inherited Methods
Public Methods
public ValuesDef.Builder addAllValues (Iterable<String> values)
Value names that have been seen in this context.
repeated string values = 1;
public ValuesDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ValuesDef.Builder addValues (String value)
Value names that have been seen in this context.
repeated string values = 1;
public ValuesDef.Builder addValuesBytes (com.google.protobuf.ByteString value)
Value names that have been seen in this context.
repeated string values = 1;
public ValuesDef.Builder clearValues ()
Value names that have been seen in this context.
repeated string values = 1;
public boolean containsExternalValues (String key)
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getExternalValuesCount ()
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public Map<String, String> getExternalValuesMap ()
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public String getExternalValuesOrDefault (String key, String defaultValue)
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public String getExternalValuesOrThrow (String key)
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public Map<String, String> getMutableExternalValues ()
Use alternate mutation accessors instead.
public String getValues (int index)
Value names that have been seen in this context.
repeated string values = 1;
public com.google.protobuf.ByteString getValuesBytes (int index)
Value names that have been seen in this context.
repeated string values = 1;
public int getValuesCount ()
Value names that have been seen in this context.
repeated string values = 1;
public com.google.protobuf.ProtocolStringList getValuesList ()
Value names that have been seen in this context.
repeated string values = 1;
public final boolean isInitialized ()
public ValuesDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final ValuesDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ValuesDef.Builder putAllExternalValues (Map<String, String> values)
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public ValuesDef.Builder putExternalValues (String key, String value)
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public ValuesDef.Builder removeExternalValues (String key)
Value names referenced by but external to this context.
map<string, string> external_values = 2;
public ValuesDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ValuesDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public ValuesDef.Builder setValues (int index, String value)
Value names that have been seen in this context.
repeated string values = 1;