Class InvocationPolicyOuterClass.InvocationPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>
com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy.Builder
- All Implemented Interfaces:
InvocationPolicyOuterClass.InvocationPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InvocationPolicyOuterClass.InvocationPolicy
public static final class InvocationPolicyOuterClass.InvocationPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>
implements InvocationPolicyOuterClass.InvocationPolicyOrBuilder
The --invocation_policy flag takes a base64-encoded binary-serialized or text formatted InvocationPolicy message.Protobuf type
blaze.invocation_policy.InvocationPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllFlagPolicies(Iterable<? extends InvocationPolicyOuterClass.FlagPolicy> values) Order matters.addFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy value) Order matters.addFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy.Builder builderForValue) Order matters.Order matters.addFlagPolicies(InvocationPolicyOuterClass.FlagPolicy.Builder builderForValue) Order matters.Order matters.addFlagPoliciesBuilder(int index) Order matters.build()clear()Order matters.optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFlagPolicies(int index) Order matters.getFlagPoliciesBuilder(int index) Order matters.Order matters.intOrder matters.Order matters.getFlagPoliciesOrBuilder(int index) Order matters.Order matters.optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;booleanoptional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;removeFlagPolicies(int index) Order matters.setFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy value) Order matters.setFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy.Builder builderForValue) Order matters.setStrategyPolicy(StrategyPolicy value) optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;setStrategyPolicy(StrategyPolicy.Builder builderForValue) optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public InvocationPolicyOuterClass.InvocationPolicy.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>
-
mergeFrom
public InvocationPolicyOuterClass.InvocationPolicy.Builder mergeFrom(InvocationPolicyOuterClass.InvocationPolicy other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>
-
mergeFrom
public InvocationPolicyOuterClass.InvocationPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InvocationPolicyOuterClass.InvocationPolicy.Builder>- Throws:
IOException
-
getFlagPoliciesList
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1;- Specified by:
getFlagPoliciesListin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder
-
getFlagPoliciesCount
public int getFlagPoliciesCount()Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1;- Specified by:
getFlagPoliciesCountin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder
-
getFlagPolicies
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1;- Specified by:
getFlagPoliciesin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder
-
setFlagPolicies
public InvocationPolicyOuterClass.InvocationPolicy.Builder setFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy value) Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
setFlagPolicies
public InvocationPolicyOuterClass.InvocationPolicy.Builder setFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy.Builder builderForValue) Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
addFlagPolicies
public InvocationPolicyOuterClass.InvocationPolicy.Builder addFlagPolicies(InvocationPolicyOuterClass.FlagPolicy value) Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
addFlagPolicies
public InvocationPolicyOuterClass.InvocationPolicy.Builder addFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy value) Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
addFlagPolicies
public InvocationPolicyOuterClass.InvocationPolicy.Builder addFlagPolicies(InvocationPolicyOuterClass.FlagPolicy.Builder builderForValue) Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
addFlagPolicies
public InvocationPolicyOuterClass.InvocationPolicy.Builder addFlagPolicies(int index, InvocationPolicyOuterClass.FlagPolicy.Builder builderForValue) Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
addAllFlagPolicies
public InvocationPolicyOuterClass.InvocationPolicy.Builder addAllFlagPolicies(Iterable<? extends InvocationPolicyOuterClass.FlagPolicy> values) Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
clearFlagPolicies
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
removeFlagPolicies
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
getFlagPoliciesBuilder
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
getFlagPoliciesOrBuilder
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1;- Specified by:
getFlagPoliciesOrBuilderin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder
-
getFlagPoliciesOrBuilderList
public List<? extends InvocationPolicyOuterClass.FlagPolicyOrBuilder> getFlagPoliciesOrBuilderList()Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1;- Specified by:
getFlagPoliciesOrBuilderListin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder
-
addFlagPoliciesBuilder
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
addFlagPoliciesBuilder
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
getFlagPoliciesBuilderList
Order matters. After expanding policies on expansion flags or flags with implicit requirements, only the final policy on a specific flag will be enforced onto the user's command line.
repeated .blaze.invocation_policy.FlagPolicy flag_policies = 1; -
hasStrategyPolicy
public boolean hasStrategyPolicy()optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;- Specified by:
hasStrategyPolicyin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder- Returns:
- Whether the strategyPolicy field is set.
-
getStrategyPolicy
optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;- Specified by:
getStrategyPolicyin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder- Returns:
- The strategyPolicy.
-
setStrategyPolicy
optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2; -
setStrategyPolicy
public InvocationPolicyOuterClass.InvocationPolicy.Builder setStrategyPolicy(StrategyPolicy.Builder builderForValue) optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2; -
mergeStrategyPolicy
public InvocationPolicyOuterClass.InvocationPolicy.Builder mergeStrategyPolicy(StrategyPolicy value) optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2; -
clearStrategyPolicy
optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2; -
getStrategyPolicyBuilder
optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2; -
getStrategyPolicyOrBuilder
optional .blaze.strategy_policy.StrategyPolicy strategy_policy = 2;- Specified by:
getStrategyPolicyOrBuilderin interfaceInvocationPolicyOuterClass.InvocationPolicyOrBuilder
-