Class PolicyOuterClass.Update.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PolicyOuterClass.Update.Builder>
com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Update.Builder>
moby.buildkit.v1.sourcepolicy.PolicyOuterClass.Update.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,PolicyOuterClass.UpdateOrBuilder
- Enclosing class:
PolicyOuterClass.Update
public static final class PolicyOuterClass.Update.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Update.Builder>
implements PolicyOuterClass.UpdateOrBuilder
Update contains updates to the matched build step after rule is appliedProtobuf type
moby.buildkit.v1.sourcepolicy.Update
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
string identifier = 1;
boolean
containsAttrs
(String key) map<string, string> attrs = 2;
getAttrs()
Deprecated.int
map<string, string> attrs = 2;
map<string, string> attrs = 2;
getAttrsOrDefault
(String key, String defaultValue) map<string, string> attrs = 2;
getAttrsOrThrow
(String key) map<string, string> attrs = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string identifier = 1;
com.google.protobuf.ByteString
string identifier = 1;
Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(PolicyOuterClass.Update other) putAllAttrs
(Map<String, String> values) map<string, string> attrs = 2;
map<string, string> attrs = 2;
removeAttrs
(String key) map<string, string> attrs = 2;
setIdentifier
(String value) string identifier = 1;
setIdentifierBytes
(com.google.protobuf.ByteString value) string identifier = 1;
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<PolicyOuterClass.Update.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Update.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Update.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.Update.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.Update.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.Update.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.Update.Builder>
-
mergeFrom
public PolicyOuterClass.Update.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.Update.Builder>
- Throws:
IOException
-
getIdentifier
string identifier = 1;
- Specified by:
getIdentifier
in interfacePolicyOuterClass.UpdateOrBuilder
- Returns:
- The identifier.
-
getIdentifierBytes
public com.google.protobuf.ByteString getIdentifierBytes()string identifier = 1;
- Specified by:
getIdentifierBytes
in interfacePolicyOuterClass.UpdateOrBuilder
- Returns:
- The bytes for identifier.
-
setIdentifier
string identifier = 1;
- Parameters:
value
- The identifier to set.- Returns:
- This builder for chaining.
-
clearIdentifier
string identifier = 1;
- Returns:
- This builder for chaining.
-
setIdentifierBytes
string identifier = 1;
- Parameters:
value
- The bytes for identifier to set.- Returns:
- This builder for chaining.
-
getAttrsCount
public int getAttrsCount()Description copied from interface:PolicyOuterClass.UpdateOrBuilder
map<string, string> attrs = 2;
- Specified by:
getAttrsCount
in interfacePolicyOuterClass.UpdateOrBuilder
-
containsAttrs
map<string, string> attrs = 2;
- Specified by:
containsAttrs
in interfacePolicyOuterClass.UpdateOrBuilder
-
getAttrs
Deprecated.UsegetAttrsMap()
instead.- Specified by:
getAttrs
in interfacePolicyOuterClass.UpdateOrBuilder
-
getAttrsMap
map<string, string> attrs = 2;
- Specified by:
getAttrsMap
in interfacePolicyOuterClass.UpdateOrBuilder
-
getAttrsOrDefault
map<string, string> attrs = 2;
- Specified by:
getAttrsOrDefault
in interfacePolicyOuterClass.UpdateOrBuilder
-
getAttrsOrThrow
map<string, string> attrs = 2;
- Specified by:
getAttrsOrThrow
in interfacePolicyOuterClass.UpdateOrBuilder
-
clearAttrs
-
removeAttrs
map<string, string> attrs = 2;
-
getMutableAttrs
Deprecated.Use alternate mutation accessors instead. -
putAttrs
map<string, string> attrs = 2;
-
putAllAttrs
map<string, string> attrs = 2;
-