- 2.54.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSignatures(Iterable<? extends EnvelopeSignature> values)
public Envelope.Builder addAllSignatures(Iterable<? extends EnvelopeSignature> values)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.EnvelopeSignature> |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Envelope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
addSignatures(int index, EnvelopeSignature value)
public Envelope.Builder addSignatures(int index, EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | EnvelopeSignature |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | EnvelopeSignature.Builder |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
addSignatures(EnvelopeSignature value)
public Envelope.Builder addSignatures(EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
value | EnvelopeSignature |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
addSignatures(EnvelopeSignature.Builder builderForValue)
public Envelope.Builder addSignatures(EnvelopeSignature.Builder builderForValue)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | EnvelopeSignature.Builder |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
addSignaturesBuilder()
public EnvelopeSignature.Builder addSignaturesBuilder()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns | |
---|---|
Type | Description |
EnvelopeSignature.Builder |
addSignaturesBuilder(int index)
public EnvelopeSignature.Builder addSignaturesBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EnvelopeSignature.Builder |
build()
public Envelope build()
Returns | |
---|---|
Type | Description |
Envelope |
buildPartial()
public Envelope buildPartial()
Returns | |
---|---|
Type | Description |
Envelope |
clear()
public Envelope.Builder clear()
Returns | |
---|---|
Type | Description |
Envelope.Builder |
clearField(Descriptors.FieldDescriptor field)
public Envelope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Envelope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
clearPayload()
public Envelope.Builder clearPayload()
bytes payload = 1;
Returns | |
---|---|
Type | Description |
Envelope.Builder | This builder for chaining. |
clearPayloadType()
public Envelope.Builder clearPayloadType()
string payload_type = 2;
Returns | |
---|---|
Type | Description |
Envelope.Builder | This builder for chaining. |
clearSignatures()
public Envelope.Builder clearSignatures()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns | |
---|---|
Type | Description |
Envelope.Builder |
clone()
public Envelope.Builder clone()
Returns | |
---|---|
Type | Description |
Envelope.Builder |
getDefaultInstanceForType()
public Envelope getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Envelope |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public ByteString getPayload()
bytes payload = 1;
Returns | |
---|---|
Type | Description |
ByteString | The payload. |
getPayloadType()
public String getPayloadType()
string payload_type = 2;
Returns | |
---|---|
Type | Description |
String | The payloadType. |
getPayloadTypeBytes()
public ByteString getPayloadTypeBytes()
string payload_type = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for payloadType. |
getSignatures(int index)
public EnvelopeSignature getSignatures(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EnvelopeSignature |
getSignaturesBuilder(int index)
public EnvelopeSignature.Builder getSignaturesBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EnvelopeSignature.Builder |
getSignaturesBuilderList()
public List<EnvelopeSignature.Builder> getSignaturesBuilderList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSignaturesCount()
public int getSignaturesCount()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns | |
---|---|
Type | Description |
int |
getSignaturesList()
public List<EnvelopeSignature> getSignaturesList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns | |
---|---|
Type | Description |
List<EnvelopeSignature> |
getSignaturesOrBuilder(int index)
public EnvelopeSignatureOrBuilder getSignaturesOrBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EnvelopeSignatureOrBuilder |
getSignaturesOrBuilderList()
public List<? extends EnvelopeSignatureOrBuilder> getSignaturesOrBuilderList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns | |
---|---|
Type | Description |
List<? extends io.grafeas.v1.EnvelopeSignatureOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Envelope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Envelope.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
mergeFrom(Envelope other)
public Envelope.Builder mergeFrom(Envelope other)
Parameter | |
---|---|
Name | Description |
other | Envelope |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Envelope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
removeSignatures(int index)
public Envelope.Builder removeSignatures(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Envelope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
setPayload(ByteString value)
public Envelope.Builder setPayload(ByteString value)
bytes payload = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The payload to set. |
Returns | |
---|---|
Type | Description |
Envelope.Builder | This builder for chaining. |
setPayloadType(String value)
public Envelope.Builder setPayloadType(String value)
string payload_type = 2;
Parameter | |
---|---|
Name | Description |
value | String The payloadType to set. |
Returns | |
---|---|
Type | Description |
Envelope.Builder | This builder for chaining. |
setPayloadTypeBytes(ByteString value)
public Envelope.Builder setPayloadTypeBytes(ByteString value)
string payload_type = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for payloadType to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
setSignatures(int index, EnvelopeSignature value)
public Envelope.Builder setSignatures(int index, EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | EnvelopeSignature |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | EnvelopeSignature.Builder |
Returns | |
---|---|
Type | Description |
Envelope.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Envelope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Envelope.Builder |