public static final class Envelope.Builder extends GeneratedMessageV3.Builder<Envelope.Builder> implements EnvelopeOrBuilder
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Envelope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSignatures(int index, EnvelopeSignature value)
public Envelope.Builder addSignatures(int index, EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameters
Returns
addSignatures(int index, EnvelopeSignature.Builder builderForValue)
public Envelope.Builder addSignatures(int index, EnvelopeSignature.Builder builderForValue)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameters
Returns
addSignatures(EnvelopeSignature value)
public Envelope.Builder addSignatures(EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter
Returns
addSignatures(EnvelopeSignature.Builder builderForValue)
public Envelope.Builder addSignatures(EnvelopeSignature.Builder builderForValue)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter
Returns
addSignaturesBuilder()
public EnvelopeSignature.Builder addSignaturesBuilder()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns
addSignaturesBuilder(int index)
public EnvelopeSignature.Builder addSignaturesBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter
Returns
build()
Returns
buildPartial()
public Envelope buildPartial()
Returns
clear()
public Envelope.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Envelope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Envelope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPayload()
public Envelope.Builder clearPayload()
Returns
clearPayloadType()
public Envelope.Builder clearPayloadType()
Returns
clearSignatures()
public Envelope.Builder clearSignatures()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns
clone()
public Envelope.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Envelope getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPayload()
public ByteString getPayload()
Returns
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
Returns
getSignaturesBuilder(int index)
public EnvelopeSignature.Builder getSignaturesBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter
Returns
getSignaturesBuilderList()
public List<EnvelopeSignature.Builder> getSignaturesBuilderList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns
getSignaturesCount()
public int getSignaturesCount()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns
getSignaturesList()
public List<EnvelopeSignature> getSignaturesList()
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Returns
getSignaturesOrBuilder(int index)
public EnvelopeSignatureOrBuilder getSignaturesOrBuilder(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Envelope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Envelope.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Envelope other)
public Envelope.Builder mergeFrom(Envelope other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Envelope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSignatures(int index)
public Envelope.Builder removeSignatures(int index)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Envelope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPayload(ByteString value)
public Envelope.Builder setPayload(ByteString value)
Parameter
Returns
setPayloadType(String value)
public Envelope.Builder setPayloadType(String value)
Parameter
Name | Description |
value | String
The payloadType to set.
|
Returns
setPayloadTypeBytes(ByteString value)
public Envelope.Builder setPayloadTypeBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for payloadType to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Envelope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSignatures(int index, EnvelopeSignature value)
public Envelope.Builder setSignatures(int index, EnvelopeSignature value)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameters
Returns
setSignatures(int index, EnvelopeSignature.Builder builderForValue)
public Envelope.Builder setSignatures(int index, EnvelopeSignature.Builder builderForValue)
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Envelope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides