CondContextDef.Builder

public static final class CondContextDef.Builder

 Protocol buffer representing a CondContext object.
 
Protobuf type tensorflow.CondContextDef

Public Methods

CondContextDef.Builder
addAllNestedContexts(Iterable<? extends ControlFlowContextDef> values)
 Contexts contained inside this context (e.g.
CondContextDef.Builder
addNestedContexts(ControlFlowContextDef.Builder builderForValue)
 Contexts contained inside this context (e.g.
CondContextDef.Builder
addNestedContexts(int index, ControlFlowContextDef value)
 Contexts contained inside this context (e.g.
CondContextDef.Builder
addNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
 Contexts contained inside this context (e.g.
CondContextDef.Builder
addNestedContexts(ControlFlowContextDef value)
 Contexts contained inside this context (e.g.
ControlFlowContextDef.Builder
addNestedContextsBuilder(int index)
 Contexts contained inside this context (e.g.
ControlFlowContextDef.Builder
addNestedContextsBuilder()
 Contexts contained inside this context (e.g.
CondContextDef.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CondContextDef
build()
CondContextDef
CondContextDef.Builder
clear()
CondContextDef.Builder
clearBranch()
 Branch prediction.
CondContextDef.Builder
clearContextName()
 Name of the context.
CondContextDef.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CondContextDef.Builder
clearNestedContexts()
 Contexts contained inside this context (e.g.
CondContextDef.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CondContextDef.Builder
clearPivotName()
 Name of the pivot tensor.
CondContextDef.Builder
clearPredName()
 Name of the pred tensor.
CondContextDef.Builder
clearValuesDef()
 Values and external values in control flow context.
CondContextDef.Builder
clone()
int
getBranch()
 Branch prediction.
String
getContextName()
 Name of the context.
com.google.protobuf.ByteString
getContextNameBytes()
 Name of the context.
CondContextDef
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
ControlFlowContextDef
getNestedContexts(int index)
 Contexts contained inside this context (e.g.
ControlFlowContextDef.Builder
getNestedContextsBuilder(int index)
 Contexts contained inside this context (e.g.
List<ControlFlowContextDef.Builder>
getNestedContextsBuilderList()
 Contexts contained inside this context (e.g.
int
getNestedContextsCount()
 Contexts contained inside this context (e.g.
List<ControlFlowContextDef>
getNestedContextsList()
 Contexts contained inside this context (e.g.
ControlFlowContextDefOrBuilder
getNestedContextsOrBuilder(int index)
 Contexts contained inside this context (e.g.
List<? extends ControlFlowContextDefOrBuilder>
getNestedContextsOrBuilderList()
 Contexts contained inside this context (e.g.
String
getPivotName()
 Name of the pivot tensor.
com.google.protobuf.ByteString
getPivotNameBytes()
 Name of the pivot tensor.
String
getPredName()
 Name of the pred tensor.
com.google.protobuf.ByteString
getPredNameBytes()
 Name of the pred tensor.
ValuesDef
getValuesDef()
 Values and external values in control flow context.
ValuesDef.Builder
getValuesDefBuilder()
 Values and external values in control flow context.
ValuesDefOrBuilder
getValuesDefOrBuilder()
 Values and external values in control flow context.
boolean
hasValuesDef()
 Values and external values in control flow context.
final boolean
CondContextDef.Builder
mergeFrom(com.google.protobuf.Message other)
CondContextDef.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final CondContextDef.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CondContextDef.Builder
mergeValuesDef(ValuesDef value)
 Values and external values in control flow context.
CondContextDef.Builder
removeNestedContexts(int index)
 Contexts contained inside this context (e.g.
CondContextDef.Builder
setBranch(int value)
 Branch prediction.
CondContextDef.Builder
setContextName(String value)
 Name of the context.
CondContextDef.Builder
setContextNameBytes(com.google.protobuf.ByteString value)
 Name of the context.
CondContextDef.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CondContextDef.Builder
setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
 Contexts contained inside this context (e.g.
CondContextDef.Builder
setNestedContexts(int index, ControlFlowContextDef value)
 Contexts contained inside this context (e.g.
CondContextDef.Builder
setPivotName(String value)
 Name of the pivot tensor.
CondContextDef.Builder
setPivotNameBytes(com.google.protobuf.ByteString value)
 Name of the pivot tensor.
CondContextDef.Builder
setPredName(String value)
 Name of the pred tensor.
CondContextDef.Builder
setPredNameBytes(com.google.protobuf.ByteString value)
 Name of the pred tensor.
CondContextDef.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final CondContextDef.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CondContextDef.Builder
setValuesDef(ValuesDef.Builder builderForValue)
 Values and external values in control flow context.
CondContextDef.Builder
setValuesDef(ValuesDef value)
 Values and external values in control flow context.

Inherited Methods

Public Methods

public CondContextDef.Builder addAllNestedContexts (Iterable<? extends ControlFlowContextDef> values)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public CondContextDef.Builder addNestedContexts (ControlFlowContextDef.Builder builderForValue)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public CondContextDef.Builder addNestedContexts (int index, ControlFlowContextDef value)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public CondContextDef.Builder addNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public CondContextDef.Builder addNestedContexts (ControlFlowContextDef value)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public ControlFlowContextDef.Builder addNestedContextsBuilder (int index)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public ControlFlowContextDef.Builder addNestedContextsBuilder ()

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

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

public CondContextDef build ()

public CondContextDef buildPartial ()

public CondContextDef.Builder clear ()

public CondContextDef.Builder clearBranch ()

 Branch prediction. 0 or 1.
 
int32 branch = 4;

public CondContextDef.Builder clearContextName ()

 Name of the context.
 
string context_name = 1;

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

public CondContextDef.Builder clearNestedContexts ()

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

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

public CondContextDef.Builder clearPivotName ()

 Name of the pivot tensor.
 
string pivot_name = 3;

public CondContextDef.Builder clearPredName ()

 Name of the pred tensor.
 
string pred_name = 2;

public CondContextDef.Builder clearValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;

public CondContextDef.Builder clone ()

public int getBranch ()

 Branch prediction. 0 or 1.
 
int32 branch = 4;

public String getContextName ()

 Name of the context.
 
string context_name = 1;

public com.google.protobuf.ByteString getContextNameBytes ()

 Name of the context.
 
string context_name = 1;

public CondContextDef getDefaultInstanceForType ()

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

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

public ControlFlowContextDef getNestedContexts (int index)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public ControlFlowContextDef.Builder getNestedContextsBuilder (int index)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public List<ControlFlowContextDef.Builder> getNestedContextsBuilderList ()

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public int getNestedContextsCount ()

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public List<ControlFlowContextDef> getNestedContextsList ()

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder (int index)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList ()

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public String getPivotName ()

 Name of the pivot tensor.
 
string pivot_name = 3;

public com.google.protobuf.ByteString getPivotNameBytes ()

 Name of the pivot tensor.
 
string pivot_name = 3;

public String getPredName ()

 Name of the pred tensor.
 
string pred_name = 2;

public com.google.protobuf.ByteString getPredNameBytes ()

 Name of the pred tensor.
 
string pred_name = 2;

public ValuesDef getValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;

public ValuesDef.Builder getValuesDefBuilder ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;

public ValuesDefOrBuilder getValuesDefOrBuilder ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;

public boolean hasValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;

public final boolean isInitialized ()

public CondContextDef.Builder mergeFrom (com.google.protobuf.Message other)

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

Throws
IOException

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

public CondContextDef.Builder mergeValuesDef (ValuesDef value)

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;

public CondContextDef.Builder removeNestedContexts (int index)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public CondContextDef.Builder setBranch (int value)

 Branch prediction. 0 or 1.
 
int32 branch = 4;

public CondContextDef.Builder setContextName (String value)

 Name of the context.
 
string context_name = 1;

public CondContextDef.Builder setContextNameBytes (com.google.protobuf.ByteString value)

 Name of the context.
 
string context_name = 1;

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

public CondContextDef.Builder setNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public CondContextDef.Builder setNestedContexts (int index, ControlFlowContextDef value)

 Contexts contained inside this context (e.g. nested conds).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;

public CondContextDef.Builder setPivotName (String value)

 Name of the pivot tensor.
 
string pivot_name = 3;

public CondContextDef.Builder setPivotNameBytes (com.google.protobuf.ByteString value)

 Name of the pivot tensor.
 
string pivot_name = 3;

public CondContextDef.Builder setPredName (String value)

 Name of the pred tensor.
 
string pred_name = 2;

public CondContextDef.Builder setPredNameBytes (com.google.protobuf.ByteString value)

 Name of the pred tensor.
 
string pred_name = 2;

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

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

public CondContextDef.Builder setValuesDef (ValuesDef.Builder builderForValue)

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;

public CondContextDef.Builder setValuesDef (ValuesDef value)

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 5;