Package org.platanios.tensorflow.proto
Class EagerServiceOuterClass.UpdateContextRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
- org.platanios.tensorflow.proto.EagerServiceOuterClass.UpdateContextRequest.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
,EagerServiceOuterClass.UpdateContextRequestOrBuilder
- Enclosing class:
- EagerServiceOuterClass.UpdateContextRequest
public static final class EagerServiceOuterClass.UpdateContextRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder> implements EagerServiceOuterClass.UpdateContextRequestOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.UpdateContextRequest
-
-
Method Summary
-
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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
clear
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.UpdateContextRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.UpdateContextRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.UpdateContextRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
setField
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
clearField
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
clearOneof
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
setRepeatedField
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
addRepeatedField
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.UpdateContextRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.UpdateContextRequest.Builder mergeFrom(EagerServiceOuterClass.UpdateContextRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.UpdateContextRequest.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<EagerServiceOuterClass.UpdateContextRequest.Builder>
- Throws:
java.io.IOException
-
hasServerDef
public boolean hasServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Specified by:
hasServerDef
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- Whether the serverDef field is set.
-
getServerDef
public ServerDef getServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Specified by:
getServerDef
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- The serverDef.
-
setServerDef
public EagerServiceOuterClass.UpdateContextRequest.Builder setServerDef(ServerDef value)
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
setServerDef
public EagerServiceOuterClass.UpdateContextRequest.Builder setServerDef(ServerDef.Builder builderForValue)
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
mergeServerDef
public EagerServiceOuterClass.UpdateContextRequest.Builder mergeServerDef(ServerDef value)
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
clearServerDef
public EagerServiceOuterClass.UpdateContextRequest.Builder clearServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
getServerDefBuilder
public ServerDef.Builder getServerDefBuilder()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
getServerDefOrBuilder
public ServerDefOrBuilder getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Specified by:
getServerDefOrBuilder
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributesList
public java.util.List<DeviceAttributes> getClusterDeviceAttributesList()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesList
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributesCount
public int getClusterDeviceAttributesCount()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesCount
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributes
public DeviceAttributes getClusterDeviceAttributes(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributes
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
setClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder setClusterDeviceAttributes(int index, DeviceAttributes value)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
setClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder setClusterDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes(DeviceAttributes value)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes(int index, DeviceAttributes value)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes(DeviceAttributes.Builder builderForValue)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
addAllClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder addAllClusterDeviceAttributes(java.lang.Iterable<? extends DeviceAttributes> values)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
clearClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder clearClusterDeviceAttributes()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
removeClusterDeviceAttributes
public EagerServiceOuterClass.UpdateContextRequest.Builder removeClusterDeviceAttributes(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getClusterDeviceAttributesBuilder
public DeviceAttributes.Builder getClusterDeviceAttributesBuilder(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getClusterDeviceAttributesOrBuilder
public DeviceAttributesOrBuilder getClusterDeviceAttributesOrBuilder(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesOrBuilder
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributesOrBuilderList
public java.util.List<? extends DeviceAttributesOrBuilder> getClusterDeviceAttributesOrBuilderList()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesOrBuilderList
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
addClusterDeviceAttributesBuilder
public DeviceAttributes.Builder addClusterDeviceAttributesBuilder()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
addClusterDeviceAttributesBuilder
public DeviceAttributes.Builder addClusterDeviceAttributesBuilder(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getClusterDeviceAttributesBuilderList
public java.util.List<DeviceAttributes.Builder> getClusterDeviceAttributesBuilderList()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getContextId
public long getContextId()
The ID of the context to be updated. A context with the specified ID must already exist on the recepient server of this request.
fixed64 context_id = 3;
- Specified by:
getContextId
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- The contextId.
-
setContextId
public EagerServiceOuterClass.UpdateContextRequest.Builder setContextId(long value)
The ID of the context to be updated. A context with the specified ID must already exist on the recepient server of this request.
fixed64 context_id = 3;
- Parameters:
value
- The contextId to set.- Returns:
- This builder for chaining.
-
clearContextId
public EagerServiceOuterClass.UpdateContextRequest.Builder clearContextId()
The ID of the context to be updated. A context with the specified ID must already exist on the recepient server of this request.
fixed64 context_id = 3;
- Returns:
- This builder for chaining.
-
getContextViewId
public long getContextViewId()
The view ID of the context, which should be contiguously incremented when updating the same context.
fixed64 context_view_id = 4;
- Specified by:
getContextViewId
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- The contextViewId.
-
setContextViewId
public EagerServiceOuterClass.UpdateContextRequest.Builder setContextViewId(long value)
The view ID of the context, which should be contiguously incremented when updating the same context.
fixed64 context_view_id = 4;
- Parameters:
value
- The contextViewId to set.- Returns:
- This builder for chaining.
-
clearContextViewId
public EagerServiceOuterClass.UpdateContextRequest.Builder clearContextViewId()
The view ID of the context, which should be contiguously incremented when updating the same context.
fixed64 context_view_id = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final EagerServiceOuterClass.UpdateContextRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.UpdateContextRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
-
-