- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class Envelope.Builder extends GeneratedMessageV3.Builder<Envelope.Builder> implements EnvelopeOrBuilder
MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.
Protobuf type grafeas.v1.Envelope
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Envelope.BuilderImplements
EnvelopeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSignatures(Iterable<? extends EnvelopeSignature> values)
public Envelope.Builder addAllSignatures(Iterable<? extends EnvelopeSignature> values)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
values | Iterable<? extends io.grafeas.v1.EnvelopeSignature> |
Type | Description |
Envelope.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Envelope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Envelope.Builder |
addSignatures(int index, EnvelopeSignature value)
public Envelope.Builder addSignatures(int index, EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
value | EnvelopeSignature |
Type | Description |
Envelope.Builder |
addSignatures(int index, EnvelopeSignature.Builder builderForValue)
public Envelope.Builder addSignatures(int index, EnvelopeSignature.Builder builderForValue)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
builderForValue | EnvelopeSignature.Builder |
Type | Description |
Envelope.Builder |
addSignatures(EnvelopeSignature value)
public Envelope.Builder addSignatures(EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
value | EnvelopeSignature |
Type | Description |
Envelope.Builder |
addSignatures(EnvelopeSignature.Builder builderForValue)
public Envelope.Builder addSignatures(EnvelopeSignature.Builder builderForValue)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
builderForValue | EnvelopeSignature.Builder |
Type | Description |
Envelope.Builder |
addSignaturesBuilder()
public EnvelopeSignature.Builder addSignaturesBuilder()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Type | Description |
EnvelopeSignature.Builder |
addSignaturesBuilder(int index)
public EnvelopeSignature.Builder addSignaturesBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
Type | Description |
EnvelopeSignature.Builder |
build()
public Envelope build()
Type | Description |
Envelope |
buildPartial()
public Envelope buildPartial()
Type | Description |
Envelope |
clear()
public Envelope.Builder clear()
Type | Description |
Envelope.Builder |
clearField(Descriptors.FieldDescriptor field)
public Envelope.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Envelope.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Envelope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Envelope.Builder |
clearPayload()
public Envelope.Builder clearPayload()
bytes payload = 1;
Type | Description |
Envelope.Builder | This builder for chaining. |
clearPayloadType()
public Envelope.Builder clearPayloadType()
string payload_type = 2;
Type | Description |
Envelope.Builder | This builder for chaining. |
clearSignatures()
public Envelope.Builder clearSignatures()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Type | Description |
Envelope.Builder |
clone()
public Envelope.Builder clone()
Type | Description |
Envelope.Builder |
getDefaultInstanceForType()
public Envelope getDefaultInstanceForType()
Type | Description |
Envelope |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPayload()
public ByteString getPayload()
bytes payload = 1;
Type | Description |
ByteString | The payload. |
getPayloadType()
public String getPayloadType()
string payload_type = 2;
Type | Description |
String | The payloadType. |
getPayloadTypeBytes()
public ByteString getPayloadTypeBytes()
string payload_type = 2;
Type | Description |
ByteString | The bytes for payloadType. |
getSignatures(int index)
public EnvelopeSignature getSignatures(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
Type | Description |
EnvelopeSignature |
getSignaturesBuilder(int index)
public EnvelopeSignature.Builder getSignaturesBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
Type | Description |
EnvelopeSignature.Builder |
getSignaturesBuilderList()
public List<EnvelopeSignature.Builder> getSignaturesBuilderList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Type | Description |
List<Builder> |
getSignaturesCount()
public int getSignaturesCount()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Type | Description |
int |
getSignaturesList()
public List<EnvelopeSignature> getSignaturesList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Type | Description |
List<EnvelopeSignature> |
getSignaturesOrBuilder(int index)
public EnvelopeSignatureOrBuilder getSignaturesOrBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
Type | Description |
EnvelopeSignatureOrBuilder |
getSignaturesOrBuilderList()
public List<? extends EnvelopeSignatureOrBuilder> getSignaturesOrBuilderList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Type | Description |
List<? extends io.grafeas.v1.EnvelopeSignatureOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Envelope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Envelope.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Envelope.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Envelope.Builder |
mergeFrom(Envelope other)
public Envelope.Builder mergeFrom(Envelope other)
Name | Description |
other | Envelope |
Type | Description |
Envelope.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Envelope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Envelope.Builder |
removeSignatures(int index)
public Envelope.Builder removeSignatures(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
Type | Description |
Envelope.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Envelope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Envelope.Builder |
setPayload(ByteString value)
public Envelope.Builder setPayload(ByteString value)
bytes payload = 1;
Name | Description |
value | ByteString The payload to set. |
Type | Description |
Envelope.Builder | This builder for chaining. |
setPayloadType(String value)
public Envelope.Builder setPayloadType(String value)
string payload_type = 2;
Name | Description |
value | String The payloadType to set. |
Type | Description |
Envelope.Builder | This builder for chaining. |
setPayloadTypeBytes(ByteString value)
public Envelope.Builder setPayloadTypeBytes(ByteString value)
string payload_type = 2;
Name | Description |
value | ByteString The bytes for payloadType to set. |
Type | Description |
Envelope.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Envelope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Envelope.Builder |
setSignatures(int index, EnvelopeSignature value)
public Envelope.Builder setSignatures(int index, EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
value | EnvelopeSignature |
Type | Description |
Envelope.Builder |
setSignatures(int index, EnvelopeSignature.Builder builderForValue)
public Envelope.Builder setSignatures(int index, EnvelopeSignature.Builder builderForValue)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Name | Description |
index | int |
builderForValue | EnvelopeSignature.Builder |
Type | Description |
Envelope.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Envelope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Envelope.Builder |