public static final class CondContextDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder> implements CondContextDefOrBuilder
Protocol buffer representing a CondContext object.Protobuf type
tensorflow.CondContextDef| Modifier and Type | Method and Description |
|---|---|
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(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(int index,
ControlFlowContextDef value)
Contexts contained inside this context (e.g.
|
ControlFlowContextDef.Builder |
addNestedContextsBuilder()
Contexts contained inside this context (e.g.
|
ControlFlowContextDef.Builder |
addNestedContextsBuilder(int index)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CondContextDef |
build() |
CondContextDef |
buildPartial() |
CondContextDef.Builder |
clear() |
CondContextDef.Builder |
clearBranch()
Branch prediction.
|
CondContextDef.Builder |
clearContextName()
Name of the context.
|
CondContextDef.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
CondContextDef.Builder |
clearNestedContexts()
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
clearOneof(org.nd4j.shade.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.
|
org.nd4j.shade.protobuf.ByteString |
getContextNameBytes()
Name of the context.
|
CondContextDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
org.nd4j.shade.protobuf.ByteString |
getPivotNameBytes()
Name of the pivot tensor.
|
String |
getPredName()
Name of the pred tensor.
|
org.nd4j.shade.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.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CondContextDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
CondContextDef.Builder |
mergeFrom(CondContextDef other) |
CondContextDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
CondContextDef.Builder |
mergeUnknownFields(org.nd4j.shade.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(org.nd4j.shade.protobuf.ByteString value)
Name of the context.
|
CondContextDef.Builder |
setField(org.nd4j.shade.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(org.nd4j.shade.protobuf.ByteString value)
Name of the pivot tensor.
|
CondContextDef.Builder |
setPredName(String value)
Name of the pred tensor.
|
CondContextDef.Builder |
setPredNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the pred tensor.
|
CondContextDef.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CondContextDef.Builder |
setUnknownFields(org.nd4j.shade.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.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic CondContextDef build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic CondContextDef buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic CondContextDef.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<CondContextDef.Builder>public CondContextDef.Builder mergeFrom(CondContextDef other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<CondContextDef.Builder>IOExceptionpublic String getContextName()
Name of the context.
string context_name = 1;getContextName in interface CondContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;getContextNameBytes in interface CondContextDefOrBuilderpublic CondContextDef.Builder setContextName(String value)
Name of the context.
string context_name = 1;public CondContextDef.Builder clearContextName()
Name of the context.
string context_name = 1;public CondContextDef.Builder setContextNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the context.
string context_name = 1;public String getPredName()
Name of the pred tensor.
string pred_name = 2;getPredName in interface CondContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getPredNameBytes()
Name of the pred tensor.
string pred_name = 2;getPredNameBytes in interface CondContextDefOrBuilderpublic CondContextDef.Builder setPredName(String value)
Name of the pred tensor.
string pred_name = 2;public CondContextDef.Builder clearPredName()
Name of the pred tensor.
string pred_name = 2;public CondContextDef.Builder setPredNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the pred tensor.
string pred_name = 2;public String getPivotName()
Name of the pivot tensor.
string pivot_name = 3;getPivotName in interface CondContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 3;getPivotNameBytes in interface CondContextDefOrBuilderpublic CondContextDef.Builder setPivotName(String value)
Name of the pivot tensor.
string pivot_name = 3;public CondContextDef.Builder clearPivotName()
Name of the pivot tensor.
string pivot_name = 3;public CondContextDef.Builder setPivotNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the pivot tensor.
string pivot_name = 3;public int getBranch()
Branch prediction. 0 or 1.
int32 branch = 4;getBranch in interface CondContextDefOrBuilderpublic CondContextDef.Builder setBranch(int value)
Branch prediction. 0 or 1.
int32 branch = 4;public CondContextDef.Builder clearBranch()
Branch prediction. 0 or 1.
int32 branch = 4;public boolean hasValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;hasValuesDef in interface CondContextDefOrBuilderpublic ValuesDef getValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;getValuesDef in interface CondContextDefOrBuilderpublic CondContextDef.Builder setValuesDef(ValuesDef value)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;public CondContextDef.Builder setValuesDef(ValuesDef.Builder builderForValue)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;public CondContextDef.Builder mergeValuesDef(ValuesDef value)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;public CondContextDef.Builder clearValuesDef()
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;getValuesDefOrBuilder in interface CondContextDefOrBuilderpublic List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;getNestedContextsList in interface CondContextDefOrBuilderpublic int getNestedContextsCount()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;getNestedContextsCount in interface CondContextDefOrBuilderpublic ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;getNestedContexts in interface CondContextDefOrBuilderpublic 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 setNestedContexts(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 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(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.Builder builderForValue)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;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 clearNestedContexts()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;public CondContextDef.Builder removeNestedContexts(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 ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;getNestedContextsOrBuilder in interface CondContextDefOrBuilderpublic List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;getNestedContextsOrBuilderList in interface CondContextDefOrBuilderpublic ControlFlowContextDef.Builder addNestedContextsBuilder()
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 List<ControlFlowContextDef.Builder> getNestedContextsBuilderList()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;public final CondContextDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public final CondContextDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>Copyright © 2021. All rights reserved.