Class Gateway.InTotoSubject.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Gateway.InTotoSubject.Builder>
com.google.protobuf.GeneratedMessage.Builder<Gateway.InTotoSubject.Builder>
moby.buildkit.v1.frontend.Gateway.InTotoSubject.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Gateway.InTotoSubjectOrBuilder
- Enclosing class:
Gateway.InTotoSubject
public static final class Gateway.InTotoSubject.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Gateway.InTotoSubject.Builder>
implements Gateway.InTotoSubjectOrBuilder
Protobuf type
moby.buildkit.v1.frontend.InTotoSubject
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDigest
(Iterable<String> values) repeated string digest = 2;
repeated string digest = 2;
addDigestBytes
(com.google.protobuf.ByteString value) repeated string digest = 2;
build()
clear()
repeated string digest = 2;
.moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
string name = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getDigest
(int index) repeated string digest = 2;
com.google.protobuf.ByteString
getDigestBytes
(int index) repeated string digest = 2;
int
repeated string digest = 2;
com.google.protobuf.ProtocolStringList
repeated string digest = 2;
getKind()
.moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
int
.moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
getName()
string name = 3;
com.google.protobuf.ByteString
string name = 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
(Gateway.InTotoSubject other) repeated string digest = 2;
setKind
(Gateway.InTotoSubjectKind value) .moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
setKindValue
(int value) .moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
string name = 3;
setNameBytes
(com.google.protobuf.ByteString value) string name = 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<Gateway.InTotoSubject.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<Gateway.InTotoSubject.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<Gateway.InTotoSubject.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<Gateway.InTotoSubject.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.InTotoSubject.Builder>
-
mergeFrom
public Gateway.InTotoSubject.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<Gateway.InTotoSubject.Builder>
- Throws:
IOException
-
getKindValue
public int getKindValue().moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
- Specified by:
getKindValue
in interfaceGateway.InTotoSubjectOrBuilder
- Returns:
- The enum numeric value on the wire for kind.
-
setKindValue
.moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
- Parameters:
value
- The enum numeric value on the wire for kind to set.- Returns:
- This builder for chaining.
-
getKind
.moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
- Specified by:
getKind
in interfaceGateway.InTotoSubjectOrBuilder
- Returns:
- The kind.
-
setKind
.moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
- Parameters:
value
- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
.moby.buildkit.v1.frontend.InTotoSubjectKind kind = 1;
- Returns:
- This builder for chaining.
-
getDigestList
public com.google.protobuf.ProtocolStringList getDigestList()repeated string digest = 2;
- Specified by:
getDigestList
in interfaceGateway.InTotoSubjectOrBuilder
- Returns:
- A list containing the digest.
-
getDigestCount
public int getDigestCount()repeated string digest = 2;
- Specified by:
getDigestCount
in interfaceGateway.InTotoSubjectOrBuilder
- Returns:
- The count of digest.
-
getDigest
repeated string digest = 2;
- Specified by:
getDigest
in interfaceGateway.InTotoSubjectOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The digest at the given index.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes(int index) repeated string digest = 2;
- Specified by:
getDigestBytes
in interfaceGateway.InTotoSubjectOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the digest at the given index.
-
setDigest
repeated string digest = 2;
- Parameters:
index
- The index to set the value at.value
- The digest to set.- Returns:
- This builder for chaining.
-
addDigest
repeated string digest = 2;
- Parameters:
value
- The digest to add.- Returns:
- This builder for chaining.
-
addAllDigest
repeated string digest = 2;
- Parameters:
values
- The digest to add.- Returns:
- This builder for chaining.
-
clearDigest
repeated string digest = 2;
- Returns:
- This builder for chaining.
-
addDigestBytes
repeated string digest = 2;
- Parameters:
value
- The bytes of the digest to add.- Returns:
- This builder for chaining.
-
getName
string name = 3;
- Specified by:
getName
in interfaceGateway.InTotoSubjectOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 3;
- Specified by:
getNameBytes
in interfaceGateway.InTotoSubjectOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 3;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 3;
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 3;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-