Class Ops.OpMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.OpMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.OpMetadata.Builder>
pb.Ops.OpMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Ops.OpMetadataOrBuilder
- Enclosing class:
Ops.OpMetadata
public static final class Ops.OpMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Ops.OpMetadata.Builder>
implements Ops.OpMetadataOrBuilder
OpMetadata is a per-vertex metadata entry, which can be defined for arbitrary Op vertex and overridable on the run time.Protobuf type
pb.OpMetadata
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;ignore_cache specifies to ignore the cache for this Op..pb.ProgressGroup progress_group = 6;
boolean
containsCaps
(String key) map<string, bool> caps = 5;
boolean
Description can be used for keeping any text fields that builder doesn't parsegetCaps()
Deprecated.int
map<string, bool> caps = 5;
map<string, bool> caps = 5;
boolean
getCapsOrDefault
(String key, boolean defaultValue) map<string, bool> caps = 5;
boolean
getCapsOrThrow
(String key) map<string, bool> caps = 5;
Deprecated.int
Description can be used for keeping any text fields that builder doesn't parseDescription can be used for keeping any text fields that builder doesn't parsegetDescriptionOrDefault
(String key, String defaultValue) Description can be used for keeping any text fields that builder doesn't parseDescription can be used for keeping any text fields that builder doesn't parsestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;boolean
ignore_cache specifies to ignore the cache for this Op.Deprecated.Deprecated..pb.ProgressGroup progress_group = 6;
.pb.ProgressGroup progress_group = 6;
.pb.ProgressGroup progress_group = 6;
boolean
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;boolean
.pb.ProgressGroup progress_group = 6;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) final boolean
mergeExportCache
(Ops.ExportCache value) index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Ops.OpMetadata other) .pb.ProgressGroup progress_group = 6;
putAllCaps
(Map<String, Boolean> values) map<string, bool> caps = 5;
putAllDescription
(Map<String, String> values) Description can be used for keeping any text fields that builder doesn't parsemap<string, bool> caps = 5;
putDescription
(String key, String value) Description can be used for keeping any text fields that builder doesn't parseremoveCaps
(String key) map<string, bool> caps = 5;
removeDescription
(String key) Description can be used for keeping any text fields that builder doesn't parsesetExportCache
(Ops.ExportCache value) index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;setExportCache
(Ops.ExportCache.Builder builderForValue) index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;setIgnoreCache
(boolean value) ignore_cache specifies to ignore the cache for this Op..pb.ProgressGroup progress_group = 6;
setProgressGroup
(Ops.ProgressGroup.Builder builderForValue) .pb.ProgressGroup progress_group = 6;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.OpMetadata.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.OpMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.OpMetadata.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.GeneratedMessage.Builder<Ops.OpMetadata.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.GeneratedMessage.Builder<Ops.OpMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.OpMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.OpMetadata.Builder>
-
mergeFrom
public Ops.OpMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<Ops.OpMetadata.Builder>
- Throws:
IOException
-
getIgnoreCache
public boolean getIgnoreCache()ignore_cache specifies to ignore the cache for this Op.
bool ignore_cache = 1;
- Specified by:
getIgnoreCache
in interfaceOps.OpMetadataOrBuilder
- Returns:
- The ignoreCache.
-
setIgnoreCache
ignore_cache specifies to ignore the cache for this Op.
bool ignore_cache = 1;
- Parameters:
value
- The ignoreCache to set.- Returns:
- This builder for chaining.
-
clearIgnoreCache
ignore_cache specifies to ignore the cache for this Op.
bool ignore_cache = 1;
- Returns:
- This builder for chaining.
-
getDescriptionCount
public int getDescriptionCount()Description copied from interface:Ops.OpMetadataOrBuilder
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
- Specified by:
getDescriptionCount
in interfaceOps.OpMetadataOrBuilder
-
containsDescription
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
- Specified by:
containsDescription
in interfaceOps.OpMetadataOrBuilder
-
getDescription
Deprecated.UsegetDescriptionMap()
instead.- Specified by:
getDescription
in interfaceOps.OpMetadataOrBuilder
-
getDescriptionMap
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
- Specified by:
getDescriptionMap
in interfaceOps.OpMetadataOrBuilder
-
getDescriptionOrDefault
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
- Specified by:
getDescriptionOrDefault
in interfaceOps.OpMetadataOrBuilder
-
getDescriptionOrThrow
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
- Specified by:
getDescriptionOrThrow
in interfaceOps.OpMetadataOrBuilder
-
clearDescription
-
removeDescription
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
-
getMutableDescription
Deprecated.Use alternate mutation accessors instead. -
putDescription
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
-
putAllDescription
Description can be used for keeping any text fields that builder doesn't parse
map<string, string> description = 2;
-
hasExportCache
public boolean hasExportCache()index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
- Specified by:
hasExportCache
in interfaceOps.OpMetadataOrBuilder
- Returns:
- Whether the exportCache field is set.
-
getExportCache
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
- Specified by:
getExportCache
in interfaceOps.OpMetadataOrBuilder
- Returns:
- The exportCache.
-
setExportCache
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
-
setExportCache
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
-
mergeExportCache
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
-
clearExportCache
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
-
getExportCacheBuilder
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
-
getExportCacheOrBuilder
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
.pb.ExportCache export_cache = 4;
- Specified by:
getExportCacheOrBuilder
in interfaceOps.OpMetadataOrBuilder
-
getCapsCount
public int getCapsCount()Description copied from interface:Ops.OpMetadataOrBuilder
map<string, bool> caps = 5;
- Specified by:
getCapsCount
in interfaceOps.OpMetadataOrBuilder
-
containsCaps
map<string, bool> caps = 5;
- Specified by:
containsCaps
in interfaceOps.OpMetadataOrBuilder
-
getCaps
-
getCapsMap
map<string, bool> caps = 5;
- Specified by:
getCapsMap
in interfaceOps.OpMetadataOrBuilder
-
getCapsOrDefault
map<string, bool> caps = 5;
- Specified by:
getCapsOrDefault
in interfaceOps.OpMetadataOrBuilder
-
getCapsOrThrow
map<string, bool> caps = 5;
- Specified by:
getCapsOrThrow
in interfaceOps.OpMetadataOrBuilder
-
clearCaps
-
removeCaps
map<string, bool> caps = 5;
-
getMutableCaps
Deprecated.Use alternate mutation accessors instead. -
putCaps
map<string, bool> caps = 5;
-
putAllCaps
map<string, bool> caps = 5;
-
hasProgressGroup
public boolean hasProgressGroup().pb.ProgressGroup progress_group = 6;
- Specified by:
hasProgressGroup
in interfaceOps.OpMetadataOrBuilder
- Returns:
- Whether the progressGroup field is set.
-
getProgressGroup
.pb.ProgressGroup progress_group = 6;
- Specified by:
getProgressGroup
in interfaceOps.OpMetadataOrBuilder
- Returns:
- The progressGroup.
-
setProgressGroup
.pb.ProgressGroup progress_group = 6;
-
setProgressGroup
.pb.ProgressGroup progress_group = 6;
-
mergeProgressGroup
.pb.ProgressGroup progress_group = 6;
-
clearProgressGroup
.pb.ProgressGroup progress_group = 6;
-
getProgressGroupBuilder
.pb.ProgressGroup progress_group = 6;
-
getProgressGroupOrBuilder
.pb.ProgressGroup progress_group = 6;
- Specified by:
getProgressGroupOrBuilder
in interfaceOps.OpMetadataOrBuilder
-