Send feedback
Class Envelope.Builder (2.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.0 keyboard_arrow_down
public static final class Envelope . Builder extends GeneratedMessageV3 . Builder<Envelope . Builder > implements EnvelopeOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
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 >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Envelope . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSignatures(int index, EnvelopeSignature value)
public Envelope . Builder addSignatures ( int index , EnvelopeSignature value )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
addSignatures(int index, EnvelopeSignature.Builder builderForValue)
public Envelope . Builder addSignatures ( int index , EnvelopeSignature . Builder builderForValue )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
addSignatures(EnvelopeSignature value)
public Envelope . Builder addSignatures ( EnvelopeSignature value )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
addSignatures(EnvelopeSignature.Builder builderForValue)
public Envelope . Builder addSignatures ( EnvelopeSignature . Builder builderForValue )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
addSignaturesBuilder()
public EnvelopeSignature . Builder addSignaturesBuilder ()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
addSignaturesBuilder(int index)
public EnvelopeSignature . Builder addSignaturesBuilder ( int index )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter Name Description index
int
build()
buildPartial()
public Envelope buildPartial ()
clear()
public Envelope . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Envelope . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Envelope . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPayload()
public Envelope . Builder clearPayload ()
clearPayloadType()
public Envelope . Builder clearPayloadType ()
clearSignatures()
public Envelope . Builder clearSignatures ()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
clone()
public Envelope . Builder clone ()
Overrides
getDefaultInstanceForType()
public Envelope getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getPayload()
public ByteString getPayload ()
getPayloadType()
public String getPayloadType ()
Returns Type Description String
The payloadType.
getPayloadTypeBytes()
public ByteString getPayloadTypeBytes ()
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
getSignaturesBuilder(int index)
public EnvelopeSignature . Builder getSignaturesBuilder ( int index )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter Name Description index
int
getSignaturesBuilderList()
public List<EnvelopeSignature . Builder > getSignaturesBuilderList ()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
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;
getSignaturesOrBuilder(int index)
public EnvelopeSignatureOrBuilder getSignaturesOrBuilder ( int index )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter Name Description index
int
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public Envelope . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Envelope . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeFrom(Envelope other)
public Envelope . Builder mergeFrom ( Envelope other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Envelope . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeSignatures(int index)
public Envelope . Builder removeSignatures ( int index )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public Envelope . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setPayload(ByteString value)
public Envelope . Builder setPayload ( ByteString value )
Parameter Name Description value
ByteString
The payload to set.
setPayloadType(String value)
public Envelope . Builder setPayloadType ( String value )
Parameter Name Description value
String
The payloadType to set.
setPayloadTypeBytes(ByteString value)
public Envelope . Builder setPayloadTypeBytes ( ByteString value )
Parameter Name Description value
ByteString
The bytes for payloadType to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Envelope . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSignatures(int index, EnvelopeSignature value)
public Envelope . Builder setSignatures ( int index , EnvelopeSignature value )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
setSignatures(int index, EnvelopeSignature.Builder builderForValue)
public Envelope . Builder setSignatures ( int index , EnvelopeSignature . Builder builderForValue )
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final Envelope . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]