Class PolicyOuterClass.Rule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PolicyOuterClass.Rule.Builder>
com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Rule.Builder>
moby.buildkit.v1.sourcepolicy.PolicyOuterClass.Rule.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,PolicyOuterClass.RuleOrBuilder
- Enclosing class:
PolicyOuterClass.Rule
public static final class PolicyOuterClass.Rule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Rule.Builder>
implements PolicyOuterClass.RuleOrBuilder
Rule defines the action(s) to take when a source is matchedProtobuf type
moby.buildkit.v1.sourcepolicy.Rule
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
int
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
boolean
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
boolean
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(PolicyOuterClass.Rule other) .moby.buildkit.v1.sourcepolicy.Selector selector = 2;
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
setActionValue
(int value) .moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
setSelector
(PolicyOuterClass.Selector.Builder builderForValue) .moby.buildkit.v1.sourcepolicy.Selector selector = 2;
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
setUpdates
(PolicyOuterClass.Update.Builder builderForValue) .moby.buildkit.v1.sourcepolicy.Update updates = 3;
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, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Rule.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<PolicyOuterClass.Rule.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<PolicyOuterClass.Rule.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<PolicyOuterClass.Rule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Rule.Builder>
-
mergeFrom
public PolicyOuterClass.Rule.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<PolicyOuterClass.Rule.Builder>
- Throws:
IOException
-
getActionValue
public int getActionValue().moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
- Specified by:
getActionValue
in interfacePolicyOuterClass.RuleOrBuilder
- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
- Parameters:
value
- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
- Specified by:
getAction
in interfacePolicyOuterClass.RuleOrBuilder
- Returns:
- The action.
-
setAction
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
- Parameters:
value
- The action to set.- Returns:
- This builder for chaining.
-
clearAction
.moby.buildkit.v1.sourcepolicy.PolicyAction action = 1;
- Returns:
- This builder for chaining.
-
hasSelector
public boolean hasSelector().moby.buildkit.v1.sourcepolicy.Selector selector = 2;
- Specified by:
hasSelector
in interfacePolicyOuterClass.RuleOrBuilder
- Returns:
- Whether the selector field is set.
-
getSelector
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
- Specified by:
getSelector
in interfacePolicyOuterClass.RuleOrBuilder
- Returns:
- The selector.
-
setSelector
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
-
setSelector
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
-
mergeSelector
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
-
clearSelector
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
-
getSelectorBuilder
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
-
getSelectorOrBuilder
.moby.buildkit.v1.sourcepolicy.Selector selector = 2;
- Specified by:
getSelectorOrBuilder
in interfacePolicyOuterClass.RuleOrBuilder
-
hasUpdates
public boolean hasUpdates().moby.buildkit.v1.sourcepolicy.Update updates = 3;
- Specified by:
hasUpdates
in interfacePolicyOuterClass.RuleOrBuilder
- Returns:
- Whether the updates field is set.
-
getUpdates
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
- Specified by:
getUpdates
in interfacePolicyOuterClass.RuleOrBuilder
- Returns:
- The updates.
-
setUpdates
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
-
setUpdates
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
-
mergeUpdates
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
-
clearUpdates
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
-
getUpdatesBuilder
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
-
getUpdatesOrBuilder
.moby.buildkit.v1.sourcepolicy.Update updates = 3;
- Specified by:
getUpdatesOrBuilder
in interfacePolicyOuterClass.RuleOrBuilder
-