Class FileMetadataSignatureInfo.Builder (0.3.0)

public static final class FileMetadataSignatureInfo.Builder extends GeneratedMessage.Builder<FileMetadataSignatureInfo.Builder> implements FileMetadataSignatureInfoOrBuilder

Signature information.

Protobuf type google.backstory.FileMetadataSignatureInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSigner(Iterable<String> values) (deprecated)

public FileMetadataSignatureInfo.Builder addAllSigner(Iterable<String> values)

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Parameter
Name Description
values Iterable<String>

The signer to add.

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

addAllSigners(Iterable<? extends SignerInfo> values)

public FileMetadataSignatureInfo.Builder addAllSigners(Iterable<? extends SignerInfo> values)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
values Iterable<? extends com.google.backstory.SignerInfo>
Returns
Type Description
FileMetadataSignatureInfo.Builder

addAllX509(Iterable<? extends X509> values)

public FileMetadataSignatureInfo.Builder addAllX509(Iterable<? extends X509> values)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
values Iterable<? extends com.google.backstory.X509>
Returns
Type Description
FileMetadataSignatureInfo.Builder

addSigner(String value) (deprecated)

public FileMetadataSignatureInfo.Builder addSigner(String value)

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Parameter
Name Description
value String

The signer to add.

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

addSignerBytes(ByteString value) (deprecated)

public FileMetadataSignatureInfo.Builder addSignerBytes(ByteString value)

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes of the signer to add.

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

addSigners(SignerInfo value)

public FileMetadataSignatureInfo.Builder addSigners(SignerInfo value)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
value SignerInfo
Returns
Type Description
FileMetadataSignatureInfo.Builder

addSigners(SignerInfo.Builder builderForValue)

public FileMetadataSignatureInfo.Builder addSigners(SignerInfo.Builder builderForValue)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
builderForValue SignerInfo.Builder
Returns
Type Description
FileMetadataSignatureInfo.Builder

addSigners(int index, SignerInfo value)

public FileMetadataSignatureInfo.Builder addSigners(int index, SignerInfo value)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameters
Name Description
index int
value SignerInfo
Returns
Type Description
FileMetadataSignatureInfo.Builder

addSigners(int index, SignerInfo.Builder builderForValue)

public FileMetadataSignatureInfo.Builder addSigners(int index, SignerInfo.Builder builderForValue)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameters
Name Description
index int
builderForValue SignerInfo.Builder
Returns
Type Description
FileMetadataSignatureInfo.Builder

addSignersBuilder()

public SignerInfo.Builder addSignersBuilder()

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Returns
Type Description
SignerInfo.Builder

addSignersBuilder(int index)

public SignerInfo.Builder addSignersBuilder(int index)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
index int
Returns
Type Description
SignerInfo.Builder

addX509(X509 value)

public FileMetadataSignatureInfo.Builder addX509(X509 value)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
value X509
Returns
Type Description
FileMetadataSignatureInfo.Builder

addX509(X509.Builder builderForValue)

public FileMetadataSignatureInfo.Builder addX509(X509.Builder builderForValue)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
builderForValue X509.Builder
Returns
Type Description
FileMetadataSignatureInfo.Builder

addX509(int index, X509 value)

public FileMetadataSignatureInfo.Builder addX509(int index, X509 value)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameters
Name Description
index int
value X509
Returns
Type Description
FileMetadataSignatureInfo.Builder

addX509(int index, X509.Builder builderForValue)

public FileMetadataSignatureInfo.Builder addX509(int index, X509.Builder builderForValue)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameters
Name Description
index int
builderForValue X509.Builder
Returns
Type Description
FileMetadataSignatureInfo.Builder

addX509Builder()

public X509.Builder addX509Builder()

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Returns
Type Description
X509.Builder

addX509Builder(int index)

public X509.Builder addX509Builder(int index)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
index int
Returns
Type Description
X509.Builder

build()

public FileMetadataSignatureInfo build()
Returns
Type Description
FileMetadataSignatureInfo

buildPartial()

public FileMetadataSignatureInfo buildPartial()
Returns
Type Description
FileMetadataSignatureInfo

clear()

public FileMetadataSignatureInfo.Builder clear()
Returns
Type Description
FileMetadataSignatureInfo.Builder
Overrides

clearSigner() (deprecated)

public FileMetadataSignatureInfo.Builder clearSigner()

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

clearSigners()

public FileMetadataSignatureInfo.Builder clearSigners()

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Returns
Type Description
FileMetadataSignatureInfo.Builder

clearVerificationMessage()

public FileMetadataSignatureInfo.Builder clearVerificationMessage()

Status of the certificate. Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

string verification_message = 1;

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

clearVerified()

public FileMetadataSignatureInfo.Builder clearVerified()

True if verification_message == "Signed"

bool verified = 2;

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

clearX509()

public FileMetadataSignatureInfo.Builder clearX509()

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Returns
Type Description
FileMetadataSignatureInfo.Builder

getDefaultInstanceForType()

public FileMetadataSignatureInfo getDefaultInstanceForType()
Returns
Type Description
FileMetadataSignatureInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSigner(int index) (deprecated)

public String getSigner(int index)

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The signer at the given index.

getSignerBytes(int index) (deprecated)

public ByteString getSignerBytes(int index)

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the signer at the given index.

getSignerCount() (deprecated)

public int getSignerCount()

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Returns
Type Description
int

The count of signer.

getSignerList() (deprecated)

public ProtocolStringList getSignerList()

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Returns
Type Description
ProtocolStringList

A list containing the signer.

getSigners(int index)

public SignerInfo getSigners(int index)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
index int
Returns
Type Description
SignerInfo

getSignersBuilder(int index)

public SignerInfo.Builder getSignersBuilder(int index)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
index int
Returns
Type Description
SignerInfo.Builder

getSignersBuilderList()

public List<SignerInfo.Builder> getSignersBuilderList()

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Returns
Type Description
List<Builder>

getSignersCount()

public int getSignersCount()

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Returns
Type Description
int

getSignersList()

public List<SignerInfo> getSignersList()

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Returns
Type Description
List<SignerInfo>

getSignersOrBuilder(int index)

public SignerInfoOrBuilder getSignersOrBuilder(int index)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
index int
Returns
Type Description
SignerInfoOrBuilder

getSignersOrBuilderList()

public List<? extends SignerInfoOrBuilder> getSignersOrBuilderList()

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Returns
Type Description
List<? extends com.google.backstory.SignerInfoOrBuilder>

getVerificationMessage()

public String getVerificationMessage()

Status of the certificate. Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

string verification_message = 1;

Returns
Type Description
String

The verificationMessage.

getVerificationMessageBytes()

public ByteString getVerificationMessageBytes()

Status of the certificate. Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

string verification_message = 1;

Returns
Type Description
ByteString

The bytes for verificationMessage.

getVerified()

public boolean getVerified()

True if verification_message == "Signed"

bool verified = 2;

Returns
Type Description
boolean

The verified.

getX509(int index)

public X509 getX509(int index)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
index int
Returns
Type Description
X509

getX509Builder(int index)

public X509.Builder getX509Builder(int index)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
index int
Returns
Type Description
X509.Builder

getX509BuilderList()

public List<X509.Builder> getX509BuilderList()

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Returns
Type Description
List<Builder>

getX509Count()

public int getX509Count()

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Returns
Type Description
int

getX509List()

public List<X509> getX509List()

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Returns
Type Description
List<X509>

getX509OrBuilder(int index)

public X509OrBuilder getX509OrBuilder(int index)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
index int
Returns
Type Description
X509OrBuilder

getX509OrBuilderList()

public List<? extends X509OrBuilder> getX509OrBuilderList()

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Returns
Type Description
List<? extends com.google.backstory.X509OrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FileMetadataSignatureInfo other)

public FileMetadataSignatureInfo.Builder mergeFrom(FileMetadataSignatureInfo other)
Parameter
Name Description
other FileMetadataSignatureInfo
Returns
Type Description
FileMetadataSignatureInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FileMetadataSignatureInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileMetadataSignatureInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FileMetadataSignatureInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FileMetadataSignatureInfo.Builder
Overrides

removeSigners(int index)

public FileMetadataSignatureInfo.Builder removeSigners(int index)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameter
Name Description
index int
Returns
Type Description
FileMetadataSignatureInfo.Builder

removeX509(int index)

public FileMetadataSignatureInfo.Builder removeX509(int index)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameter
Name Description
index int
Returns
Type Description
FileMetadataSignatureInfo.Builder

setSigner(int index, String value) (deprecated)

public FileMetadataSignatureInfo.Builder setSigner(int index, String value)

Deprecated. google.backstory.FileMetadataSignatureInfo.signer is deprecated. See backstory/udm.proto;l=3769

Deprecated: use signers field.

repeated string signer = 3 [deprecated = true];

Parameters
Name Description
index int

The index to set the value at.

value String

The signer to set.

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

setSigners(int index, SignerInfo value)

public FileMetadataSignatureInfo.Builder setSigners(int index, SignerInfo value)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameters
Name Description
index int
value SignerInfo
Returns
Type Description
FileMetadataSignatureInfo.Builder

setSigners(int index, SignerInfo.Builder builderForValue)

public FileMetadataSignatureInfo.Builder setSigners(int index, SignerInfo.Builder builderForValue)

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

repeated .google.backstory.SignerInfo signers = 4;

Parameters
Name Description
index int
builderForValue SignerInfo.Builder
Returns
Type Description
FileMetadataSignatureInfo.Builder

setVerificationMessage(String value)

public FileMetadataSignatureInfo.Builder setVerificationMessage(String value)

Status of the certificate. Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

string verification_message = 1;

Parameter
Name Description
value String

The verificationMessage to set.

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

setVerificationMessageBytes(ByteString value)

public FileMetadataSignatureInfo.Builder setVerificationMessageBytes(ByteString value)

Status of the certificate. Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

string verification_message = 1;

Parameter
Name Description
value ByteString

The bytes for verificationMessage to set.

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

setVerified(boolean value)

public FileMetadataSignatureInfo.Builder setVerified(boolean value)

True if verification_message == "Signed"

bool verified = 2;

Parameter
Name Description
value boolean

The verified to set.

Returns
Type Description
FileMetadataSignatureInfo.Builder

This builder for chaining.

setX509(int index, X509 value)

public FileMetadataSignatureInfo.Builder setX509(int index, X509 value)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameters
Name Description
index int
value X509
Returns
Type Description
FileMetadataSignatureInfo.Builder

setX509(int index, X509.Builder builderForValue)

public FileMetadataSignatureInfo.Builder setX509(int index, X509.Builder builderForValue)

List of certificates.

repeated .google.backstory.X509 x509 = 5;

Parameters
Name Description
index int
builderForValue X509.Builder
Returns
Type Description
FileMetadataSignatureInfo.Builder