public static final class ShieldedInstanceIdentityEntry.Builder extends GeneratedMessage.Builder<ShieldedInstanceIdentityEntry.Builder> implements ShieldedInstanceIdentityEntryOrBuilderA Shielded Instance Identity Entry.
Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentityEntry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ShieldedInstanceIdentityEntry.BuilderImplements
ShieldedInstanceIdentityEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ShieldedInstanceIdentityEntry build()| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry |
|
buildPartial()
public ShieldedInstanceIdentityEntry buildPartial()| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry |
|
clear()
public ShieldedInstanceIdentityEntry.Builder clear()| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
|
clearEkCert()
public ShieldedInstanceIdentityEntry.Builder clearEkCert()A PEM-encoded X.509 certificate. This field can be empty.
optional string ek_cert = 450178589;
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
This builder for chaining. |
clearEkPub()
public ShieldedInstanceIdentityEntry.Builder clearEkPub()A PEM-encoded public key.
optional string ek_pub = 308947940;
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ShieldedInstanceIdentityEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ShieldedInstanceIdentityEntry other)
public ShieldedInstanceIdentityEntry.Builder mergeFrom(ShieldedInstanceIdentityEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
ShieldedInstanceIdentityEntry |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ShieldedInstanceIdentityEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ShieldedInstanceIdentityEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
|
setEkCert(String value)
public ShieldedInstanceIdentityEntry.Builder setEkCert(String value)A PEM-encoded X.509 certificate. This field can be empty.
optional string ek_cert = 450178589;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ekCert to set. |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
This builder for chaining. |
setEkCertBytes(ByteString value)
public ShieldedInstanceIdentityEntry.Builder setEkCertBytes(ByteString value)A PEM-encoded X.509 certificate. This field can be empty.
optional string ek_cert = 450178589;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ekCert to set. |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
This builder for chaining. |
setEkPub(String value)
public ShieldedInstanceIdentityEntry.Builder setEkPub(String value)A PEM-encoded public key.
optional string ek_pub = 308947940;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ekPub to set. |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
This builder for chaining. |
setEkPubBytes(ByteString value)
public ShieldedInstanceIdentityEntry.Builder setEkPubBytes(ByteString value)A PEM-encoded public key.
optional string ek_pub = 308947940;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ekPub to set. |
| Returns | |
|---|---|
| Type | Description |
ShieldedInstanceIdentityEntry.Builder |
This builder for chaining. |