Class Caps.APICap.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Caps.APICap.Builder>
com.google.protobuf.GeneratedMessage.Builder<Caps.APICap.Builder>
moby.buildkit.v1.apicaps.Caps.APICap.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Caps.APICapOrBuilder
- Enclosing class:
Caps.APICap
public static final class Caps.APICap.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Caps.APICap.Builder>
implements Caps.APICapOrBuilder
APICap defines a capability supported by the serviceProtobuf type
moby.buildkit.v1.apicaps.APICap
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
Unused.Identifier that updated client could catch.Reason key for detection codeMessage to the userbool Enabled = 2;
clearID()
string ID = 1;
boolean
Unused.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Identifier that updated client could catch.com.google.protobuf.ByteString
Identifier that updated client could catch.Reason key for detection codecom.google.protobuf.ByteString
Reason key for detection codeMessage to the usercom.google.protobuf.ByteString
Message to the userboolean
bool Enabled = 2;
getID()
string ID = 1;
com.google.protobuf.ByteString
string ID = 1;
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
(Caps.APICap other) setDeprecated
(boolean value) Unused.setDisabledAlternative
(String value) Identifier that updated client could catch.setDisabledAlternativeBytes
(com.google.protobuf.ByteString value) Identifier that updated client could catch.setDisabledReason
(String value) Reason key for detection codesetDisabledReasonBytes
(com.google.protobuf.ByteString value) Reason key for detection codesetDisabledReasonMsg
(String value) Message to the usersetDisabledReasonMsgBytes
(com.google.protobuf.ByteString value) Message to the usersetEnabled
(boolean value) bool Enabled = 2;
string ID = 1;
setIDBytes
(com.google.protobuf.ByteString value) string ID = 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, 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<Caps.APICap.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<Caps.APICap.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<Caps.APICap.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<Caps.APICap.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Caps.APICap.Builder>
-
mergeFrom
public Caps.APICap.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<Caps.APICap.Builder>
- Throws:
IOException
-
getID
string ID = 1;
- Specified by:
getID
in interfaceCaps.APICapOrBuilder
- Returns:
- The iD.
-
getIDBytes
public com.google.protobuf.ByteString getIDBytes()string ID = 1;
- Specified by:
getIDBytes
in interfaceCaps.APICapOrBuilder
- Returns:
- The bytes for iD.
-
setID
string ID = 1;
- Parameters:
value
- The iD to set.- Returns:
- This builder for chaining.
-
clearID
-
setIDBytes
string ID = 1;
- Parameters:
value
- The bytes for iD to set.- Returns:
- This builder for chaining.
-
getEnabled
public boolean getEnabled()bool Enabled = 2;
- Specified by:
getEnabled
in interfaceCaps.APICapOrBuilder
- Returns:
- The enabled.
-
setEnabled
bool Enabled = 2;
- Parameters:
value
- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
-
getDeprecated
public boolean getDeprecated()Unused. May be used for warnings in the future
bool Deprecated = 3;
- Specified by:
getDeprecated
in interfaceCaps.APICapOrBuilder
- Returns:
- The deprecated.
-
setDeprecated
Unused. May be used for warnings in the future
bool Deprecated = 3;
- Parameters:
value
- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
Unused. May be used for warnings in the future
bool Deprecated = 3;
- Returns:
- This builder for chaining.
-
getDisabledReason
Reason key for detection code
string DisabledReason = 4;
- Specified by:
getDisabledReason
in interfaceCaps.APICapOrBuilder
- Returns:
- The disabledReason.
-
getDisabledReasonBytes
public com.google.protobuf.ByteString getDisabledReasonBytes()Reason key for detection code
string DisabledReason = 4;
- Specified by:
getDisabledReasonBytes
in interfaceCaps.APICapOrBuilder
- Returns:
- The bytes for disabledReason.
-
setDisabledReason
Reason key for detection code
string DisabledReason = 4;
- Parameters:
value
- The disabledReason to set.- Returns:
- This builder for chaining.
-
clearDisabledReason
Reason key for detection code
string DisabledReason = 4;
- Returns:
- This builder for chaining.
-
setDisabledReasonBytes
Reason key for detection code
string DisabledReason = 4;
- Parameters:
value
- The bytes for disabledReason to set.- Returns:
- This builder for chaining.
-
getDisabledReasonMsg
Message to the user
string DisabledReasonMsg = 5;
- Specified by:
getDisabledReasonMsg
in interfaceCaps.APICapOrBuilder
- Returns:
- The disabledReasonMsg.
-
getDisabledReasonMsgBytes
public com.google.protobuf.ByteString getDisabledReasonMsgBytes()Message to the user
string DisabledReasonMsg = 5;
- Specified by:
getDisabledReasonMsgBytes
in interfaceCaps.APICapOrBuilder
- Returns:
- The bytes for disabledReasonMsg.
-
setDisabledReasonMsg
Message to the user
string DisabledReasonMsg = 5;
- Parameters:
value
- The disabledReasonMsg to set.- Returns:
- This builder for chaining.
-
clearDisabledReasonMsg
Message to the user
string DisabledReasonMsg = 5;
- Returns:
- This builder for chaining.
-
setDisabledReasonMsgBytes
Message to the user
string DisabledReasonMsg = 5;
- Parameters:
value
- The bytes for disabledReasonMsg to set.- Returns:
- This builder for chaining.
-
getDisabledAlternative
Identifier that updated client could catch.
string DisabledAlternative = 6;
- Specified by:
getDisabledAlternative
in interfaceCaps.APICapOrBuilder
- Returns:
- The disabledAlternative.
-
getDisabledAlternativeBytes
public com.google.protobuf.ByteString getDisabledAlternativeBytes()Identifier that updated client could catch.
string DisabledAlternative = 6;
- Specified by:
getDisabledAlternativeBytes
in interfaceCaps.APICapOrBuilder
- Returns:
- The bytes for disabledAlternative.
-
setDisabledAlternative
Identifier that updated client could catch.
string DisabledAlternative = 6;
- Parameters:
value
- The disabledAlternative to set.- Returns:
- This builder for chaining.
-
clearDisabledAlternative
Identifier that updated client could catch.
string DisabledAlternative = 6;
- Returns:
- This builder for chaining.
-
setDisabledAlternativeBytes
Identifier that updated client could catch.
string DisabledAlternative = 6;
- Parameters:
value
- The bytes for disabledAlternative to set.- Returns:
- This builder for chaining.
-