Class CondContextDef.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CondContextDef.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
org.tensorflow.proto.CondContextDef.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, CondContextDefOrBuilder
- Enclosing class:
CondContextDef
public static final class CondContextDef.Builder
extends GeneratedMessageV3.Builder<CondContextDef.Builder>
implements CondContextDefOrBuilder
Protocol buffer representing a CondContext object.Protobuf type
tensorflow.CondContextDef-
Method Summary
Modifier and TypeMethodDescriptionaddAllNestedContexts(Iterable<? extends ControlFlowContextDef> values) Contexts contained inside this context (e.g. nested conds).addNestedContexts(int index, ControlFlowContextDef value) Contexts contained inside this context (e.g. nested conds).addNestedContexts(int index, ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. nested conds).Contexts contained inside this context (e.g. nested conds).addNestedContexts(ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. nested conds).Contexts contained inside this context (e.g. nested conds).addNestedContextsBuilder(int index) Contexts contained inside this context (e.g. nested conds).addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Branch prediction. 0 or 1.Name of the context.Contexts contained inside this context (e.g. nested conds).Name of the pivot tensor.Name of the pred tensor.Values and external values in control flow context.clone()intBranch prediction. 0 or 1.Name of the context.Name of the context.static final Descriptors.DescriptorgetNestedContexts(int index) Contexts contained inside this context (e.g. nested conds).getNestedContextsBuilder(int index) Contexts contained inside this context (e.g. nested conds).Contexts contained inside this context (e.g. nested conds).intContexts contained inside this context (e.g. nested conds).Contexts contained inside this context (e.g. nested conds).getNestedContextsOrBuilder(int index) Contexts contained inside this context (e.g. nested conds).List<? extends ControlFlowContextDefOrBuilder> Contexts contained inside this context (e.g. nested conds).Name of the pivot tensor.Name of the pivot tensor.Name of the pred tensor.Name of the pred tensor.Values and external values in control flow context.Values and external values in control flow context.Values and external values in control flow context.booleanValues and external values in control flow context.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(CondContextDef other) final CondContextDef.BuildermergeUnknownFields(UnknownFieldSet unknownFields) mergeValuesDef(ValuesDef value) Values and external values in control flow context.removeNestedContexts(int index) Contexts contained inside this context (e.g. nested conds).setBranch(int value) Branch prediction. 0 or 1.setContextName(String value) Name of the context.setContextNameBytes(ByteString value) Name of the context.setField(Descriptors.FieldDescriptor field, Object value) setNestedContexts(int index, ControlFlowContextDef value) Contexts contained inside this context (e.g. nested conds).setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. nested conds).setPivotName(String value) Name of the pivot tensor.setPivotNameBytes(ByteString value) Name of the pivot tensor.setPredName(String value) Name of the pred tensor.setPredNameBytes(ByteString value) Name of the pred tensor.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) final CondContextDef.BuildersetUnknownFields(UnknownFieldSet unknownFields) setValuesDef(ValuesDef value) Values and external values in control flow context.setValuesDef(ValuesDef.Builder builderForValue) Values and external values in control flow context.Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
setRepeatedField
public CondContextDef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<CondContextDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
mergeFrom
public CondContextDef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<CondContextDef.Builder>- Throws:
IOException
-
getContextName
Name of the context.
string context_name = 1;- Specified by:
getContextNamein interfaceCondContextDefOrBuilder- Returns:
- The contextName.
-
getContextNameBytes
Name of the context.
string context_name = 1;- Specified by:
getContextNameBytesin interfaceCondContextDefOrBuilder- Returns:
- The bytes for contextName.
-
setContextName
Name of the context.
string context_name = 1;- Parameters:
value- The contextName to set.- Returns:
- This builder for chaining.
-
clearContextName
Name of the context.
string context_name = 1;- Returns:
- This builder for chaining.
-
setContextNameBytes
Name of the context.
string context_name = 1;- Parameters:
value- The bytes for contextName to set.- Returns:
- This builder for chaining.
-
getPredName
Name of the pred tensor.
string pred_name = 2;- Specified by:
getPredNamein interfaceCondContextDefOrBuilder- Returns:
- The predName.
-
getPredNameBytes
Name of the pred tensor.
string pred_name = 2;- Specified by:
getPredNameBytesin interfaceCondContextDefOrBuilder- Returns:
- The bytes for predName.
-
setPredName
Name of the pred tensor.
string pred_name = 2;- Parameters:
value- The predName to set.- Returns:
- This builder for chaining.
-
clearPredName
Name of the pred tensor.
string pred_name = 2;- Returns:
- This builder for chaining.
-
setPredNameBytes
Name of the pred tensor.
string pred_name = 2;- Parameters:
value- The bytes for predName to set.- Returns:
- This builder for chaining.
-
getPivotName
Name of the pivot tensor.
string pivot_name = 3;- Specified by:
getPivotNamein interfaceCondContextDefOrBuilder- Returns:
- The pivotName.
-
getPivotNameBytes
Name of the pivot tensor.
string pivot_name = 3;- Specified by:
getPivotNameBytesin interfaceCondContextDefOrBuilder- Returns:
- The bytes for pivotName.
-
setPivotName
Name of the pivot tensor.
string pivot_name = 3;- Parameters:
value- The pivotName to set.- Returns:
- This builder for chaining.
-
clearPivotName
Name of the pivot tensor.
string pivot_name = 3;- Returns:
- This builder for chaining.
-
setPivotNameBytes
Name of the pivot tensor.
string pivot_name = 3;- Parameters:
value- The bytes for pivotName to set.- Returns:
- This builder for chaining.
-
getBranch
public int getBranch()Branch prediction. 0 or 1.
int32 branch = 4;- Specified by:
getBranchin interfaceCondContextDefOrBuilder- Returns:
- The branch.
-
setBranch
Branch prediction. 0 or 1.
int32 branch = 4;- Parameters:
value- The branch to set.- Returns:
- This builder for chaining.
-
clearBranch
Branch prediction. 0 or 1.
int32 branch = 4;- Returns:
- This builder for chaining.
-
hasValuesDef
public boolean hasValuesDef()Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;- Specified by:
hasValuesDefin interfaceCondContextDefOrBuilder- Returns:
- Whether the valuesDef field is set.
-
getValuesDef
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;- Specified by:
getValuesDefin interfaceCondContextDefOrBuilder- Returns:
- The valuesDef.
-
setValuesDef
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5; -
setValuesDef
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5; -
mergeValuesDef
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5; -
clearValuesDef
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5; -
getValuesDefBuilder
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5; -
getValuesDefOrBuilder
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;- Specified by:
getValuesDefOrBuilderin interfaceCondContextDefOrBuilder
-
getNestedContextsList
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;- Specified by:
getNestedContextsListin interfaceCondContextDefOrBuilder
-
getNestedContextsCount
public int getNestedContextsCount()Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;- Specified by:
getNestedContextsCountin interfaceCondContextDefOrBuilder
-
getNestedContexts
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;- Specified by:
getNestedContextsin interfaceCondContextDefOrBuilder
-
setNestedContexts
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
setNestedContexts
public CondContextDef.Builder setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
addNestedContexts
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
addNestedContexts
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
addNestedContexts
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
addNestedContexts
public CondContextDef.Builder addNestedContexts(int index, ControlFlowContextDef.Builder builderForValue) Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
addAllNestedContexts
public CondContextDef.Builder addAllNestedContexts(Iterable<? extends ControlFlowContextDef> values) Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
clearNestedContexts
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
removeNestedContexts
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
getNestedContextsBuilder
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
getNestedContextsOrBuilder
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;- Specified by:
getNestedContextsOrBuilderin interfaceCondContextDefOrBuilder
-
getNestedContextsOrBuilderList
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;- Specified by:
getNestedContextsOrBuilderListin interfaceCondContextDefOrBuilder
-
addNestedContextsBuilder
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
addNestedContextsBuilder
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
getNestedContextsBuilderList
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<CondContextDef.Builder>
-