Class ShieldedInstanceIdentityEntry (1.64.0)

public final class ShieldedInstanceIdentityEntry extends GeneratedMessageV3 implements ShieldedInstanceIdentityEntryOrBuilder

A Shielded Instance Identity Entry.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentityEntry

Static Fields

EK_CERT_FIELD_NUMBER

public static final int EK_CERT_FIELD_NUMBER
Field Value
Type Description
int

EK_PUB_FIELD_NUMBER

public static final int EK_PUB_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ShieldedInstanceIdentityEntry getDefaultInstance()
Returns
Type Description
ShieldedInstanceIdentityEntry

getDescriptor()

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

newBuilder()

public static ShieldedInstanceIdentityEntry.Builder newBuilder()
Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

newBuilder(ShieldedInstanceIdentityEntry prototype)

public static ShieldedInstanceIdentityEntry.Builder newBuilder(ShieldedInstanceIdentityEntry prototype)
Parameter
Name Description
prototype ShieldedInstanceIdentityEntry
Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

parseDelimitedFrom(InputStream input)

public static ShieldedInstanceIdentityEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceIdentityEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ShieldedInstanceIdentityEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceIdentityEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ShieldedInstanceIdentityEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceIdentityEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ShieldedInstanceIdentityEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceIdentityEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ShieldedInstanceIdentityEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceIdentityEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ShieldedInstanceIdentityEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceIdentityEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIdentityEntry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ShieldedInstanceIdentityEntry> parser()
Returns
Type Description
Parser<ShieldedInstanceIdentityEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ShieldedInstanceIdentityEntry getDefaultInstanceForType()
Returns
Type Description
ShieldedInstanceIdentityEntry

getEkCert()

public String getEkCert()

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Returns
Type Description
String

The ekCert.

getEkCertBytes()

public ByteString getEkCertBytes()

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Returns
Type Description
ByteString

The bytes for ekCert.

getEkPub()

public String getEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
Type Description
String

The ekPub.

getEkPubBytes()

public ByteString getEkPubBytes()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
Type Description
ByteString

The bytes for ekPub.

getParserForType()

public Parser<ShieldedInstanceIdentityEntry> getParserForType()
Returns
Type Description
Parser<ShieldedInstanceIdentityEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEkCert()

public boolean hasEkCert()

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Returns
Type Description
boolean

Whether the ekCert field is set.

hasEkPub()

public boolean hasEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
Type Description
boolean

Whether the ekPub field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ShieldedInstanceIdentityEntry.Builder newBuilderForType()
Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ShieldedInstanceIdentityEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ShieldedInstanceIdentityEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ShieldedInstanceIdentityEntry.Builder toBuilder()
Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException