public static final class CondContextDef.Builder extends com.google.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(com.google.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(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 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.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.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CondContextDef.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CondContextDef.Builder |
mergeFrom(CondContextDef other) |
CondContextDef.Builder |
mergeFrom(com.google.protobuf.Message other) |
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) |
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.
|
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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CondContextDef build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CondContextDef buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CondContextDef.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CondContextDef.Builder>public CondContextDef.Builder mergeFrom(CondContextDef other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public CondContextDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CondContextDef.Builder>IOExceptionpublic String getContextName()
Name of the context.
string context_name = 1;getContextName in interface CondContextDefOrBuilderpublic com.google.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(com.google.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 com.google.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(com.google.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 com.google.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(com.google.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>public final CondContextDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>Copyright © 2015–2019. All rights reserved.