Package org.platanios.tensorflow.proto
Class CondContextDef.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
- org.platanios.tensorflow.proto.CondContextDef.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,CondContextDefOrBuilder
- Enclosing class:
- CondContextDef
public static final class CondContextDef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder> implements CondContextDefOrBuilder
Protocol buffer representing a CondContext object.
Protobuf typeorg.platanios.tensorflow.proto.CondContextDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CondContextDef.Builder
addAllNestedContexts(java.lang.Iterable<? extends ControlFlowContextDef> values)
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.CondContextDef.Builder
addNestedContexts(ControlFlowContextDef.Builder builderForValue)
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, java.lang.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.java.lang.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.java.util.List<ControlFlowContextDef.Builder>
getNestedContextsBuilderList()
Contexts contained inside this context (e.g.int
getNestedContextsCount()
Contexts contained inside this context (e.g.java.util.List<ControlFlowContextDef>
getNestedContextsList()
Contexts contained inside this context (e.g.ControlFlowContextDefOrBuilder
getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g.java.util.List<? extends ControlFlowContextDefOrBuilder>
getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g.java.lang.String
getPivotName()
Name of the pivot tensor.com.google.protobuf.ByteString
getPivotNameBytes()
Name of the pivot tensor.java.lang.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(com.google.protobuf.Message other)
CondContextDef.Builder
mergeFrom(CondContextDef 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(java.lang.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, java.lang.Object value)
CondContextDef.Builder
setNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g.CondContextDef.Builder
setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g.CondContextDef.Builder
setPivotName(java.lang.String value)
Name of the pivot tensor.CondContextDef.Builder
setPivotNameBytes(com.google.protobuf.ByteString value)
Name of the pivot tensor.CondContextDef.Builder
setPredName(java.lang.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, java.lang.Object value)
CondContextDef.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CondContextDef.Builder
setValuesDef(ValuesDef value)
Values and external values in control flow context.CondContextDef.Builder
setValuesDef(ValuesDef.Builder builderForValue)
Values and external values in control flow context.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
clear
public CondContextDef.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
getDefaultInstanceForType
public CondContextDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CondContextDef build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CondContextDef buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CondContextDef.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
setField
public CondContextDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
clearField
public CondContextDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
clearOneof
public CondContextDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
setRepeatedField
public CondContextDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
addRepeatedField
public CondContextDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
mergeFrom
public CondContextDef.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CondContextDef.Builder>
-
mergeFrom
public CondContextDef.Builder mergeFrom(CondContextDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
mergeFrom
public CondContextDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CondContextDef.Builder>
- Throws:
java.io.IOException
-
getContextName
public java.lang.String getContextName()
Name of the context.
string context_name = 1;
- Specified by:
getContextName
in interfaceCondContextDefOrBuilder
- Returns:
- The contextName.
-
getContextNameBytes
public com.google.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;
- Specified by:
getContextNameBytes
in interfaceCondContextDefOrBuilder
- Returns:
- The bytes for contextName.
-
setContextName
public CondContextDef.Builder setContextName(java.lang.String value)
Name of the context.
string context_name = 1;
- Parameters:
value
- The contextName to set.- Returns:
- This builder for chaining.
-
clearContextName
public CondContextDef.Builder clearContextName()
Name of the context.
string context_name = 1;
- Returns:
- This builder for chaining.
-
setContextNameBytes
public CondContextDef.Builder setContextNameBytes(com.google.protobuf.ByteString value)
Name of the context.
string context_name = 1;
- Parameters:
value
- The bytes for contextName to set.- Returns:
- This builder for chaining.
-
getPredName
public java.lang.String getPredName()
Name of the pred tensor.
string pred_name = 2;
- Specified by:
getPredName
in interfaceCondContextDefOrBuilder
- Returns:
- The predName.
-
getPredNameBytes
public com.google.protobuf.ByteString getPredNameBytes()
Name of the pred tensor.
string pred_name = 2;
- Specified by:
getPredNameBytes
in interfaceCondContextDefOrBuilder
- Returns:
- The bytes for predName.
-
setPredName
public CondContextDef.Builder setPredName(java.lang.String value)
Name of the pred tensor.
string pred_name = 2;
- Parameters:
value
- The predName to set.- Returns:
- This builder for chaining.
-
clearPredName
public CondContextDef.Builder clearPredName()
Name of the pred tensor.
string pred_name = 2;
- Returns:
- This builder for chaining.
-
setPredNameBytes
public CondContextDef.Builder setPredNameBytes(com.google.protobuf.ByteString value)
Name of the pred tensor.
string pred_name = 2;
- Parameters:
value
- The bytes for predName to set.- Returns:
- This builder for chaining.
-
getPivotName
public java.lang.String getPivotName()
Name of the pivot tensor.
string pivot_name = 3;
- Specified by:
getPivotName
in interfaceCondContextDefOrBuilder
- Returns:
- The pivotName.
-
getPivotNameBytes
public com.google.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 3;
- Specified by:
getPivotNameBytes
in interfaceCondContextDefOrBuilder
- Returns:
- The bytes for pivotName.
-
setPivotName
public CondContextDef.Builder setPivotName(java.lang.String value)
Name of the pivot tensor.
string pivot_name = 3;
- Parameters:
value
- The pivotName to set.- Returns:
- This builder for chaining.
-
clearPivotName
public CondContextDef.Builder clearPivotName()
Name of the pivot tensor.
string pivot_name = 3;
- Returns:
- This builder for chaining.
-
setPivotNameBytes
public CondContextDef.Builder setPivotNameBytes(com.google.protobuf.ByteString value)
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:
getBranch
in interfaceCondContextDefOrBuilder
- Returns:
- The branch.
-
setBranch
public CondContextDef.Builder setBranch(int value)
Branch prediction. 0 or 1.
int32 branch = 4;
- Parameters:
value
- The branch to set.- Returns:
- This builder for chaining.
-
clearBranch
public CondContextDef.Builder 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.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
- Specified by:
hasValuesDef
in interfaceCondContextDefOrBuilder
- Returns:
- Whether the valuesDef field is set.
-
getValuesDef
public ValuesDef getValuesDef()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
- Specified by:
getValuesDef
in interfaceCondContextDefOrBuilder
- Returns:
- The valuesDef.
-
setValuesDef
public CondContextDef.Builder setValuesDef(ValuesDef value)
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
-
setValuesDef
public CondContextDef.Builder setValuesDef(ValuesDef.Builder builderForValue)
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
-
mergeValuesDef
public CondContextDef.Builder mergeValuesDef(ValuesDef value)
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
-
clearValuesDef
public CondContextDef.Builder clearValuesDef()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
-
getValuesDefBuilder
public ValuesDef.Builder getValuesDefBuilder()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
-
getValuesDefOrBuilder
public ValuesDefOrBuilder getValuesDefOrBuilder()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
- Specified by:
getValuesDefOrBuilder
in interfaceCondContextDefOrBuilder
-
getNestedContextsList
public java.util.List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
- Specified by:
getNestedContextsList
in interfaceCondContextDefOrBuilder
-
getNestedContextsCount
public int getNestedContextsCount()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
- Specified by:
getNestedContextsCount
in interfaceCondContextDefOrBuilder
-
getNestedContexts
public ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
- Specified by:
getNestedContexts
in interfaceCondContextDefOrBuilder
-
setNestedContexts
public CondContextDef.Builder setNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
setNestedContexts
public CondContextDef.Builder setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
addNestedContexts
public CondContextDef.Builder addNestedContexts(ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
addNestedContexts
public CondContextDef.Builder addNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
addNestedContexts
public CondContextDef.Builder addNestedContexts(ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
addNestedContexts
public CondContextDef.Builder addNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
addAllNestedContexts
public CondContextDef.Builder addAllNestedContexts(java.lang.Iterable<? extends ControlFlowContextDef> values)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
clearNestedContexts
public CondContextDef.Builder clearNestedContexts()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
removeNestedContexts
public CondContextDef.Builder removeNestedContexts(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
getNestedContextsBuilder
public ControlFlowContextDef.Builder getNestedContextsBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
getNestedContextsOrBuilder
public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
- Specified by:
getNestedContextsOrBuilder
in interfaceCondContextDefOrBuilder
-
getNestedContextsOrBuilderList
public java.util.List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
- Specified by:
getNestedContextsOrBuilderList
in interfaceCondContextDefOrBuilder
-
addNestedContextsBuilder
public ControlFlowContextDef.Builder addNestedContextsBuilder()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
addNestedContextsBuilder
public ControlFlowContextDef.Builder addNestedContextsBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
getNestedContextsBuilderList
public java.util.List<ControlFlowContextDef.Builder> getNestedContextsBuilderList()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
setUnknownFields
public final CondContextDef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
mergeUnknownFields
public final CondContextDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
-
-