public static final class ShieldedInstanceIdentityEntry.Builder extends GeneratedMessageV3.Builder<ShieldedInstanceIdentityEntry.Builder> implements ShieldedInstanceIdentityEntryOrBuilder
A Shielded Instance Identity Entry.
Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentityEntry
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceIdentityEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ShieldedInstanceIdentityEntry build()
Returns
buildPartial()
public ShieldedInstanceIdentityEntry buildPartial()
Returns
clear()
public ShieldedInstanceIdentityEntry.Builder clear()
Returns
Overrides
clearEkCert()
public ShieldedInstanceIdentityEntry.Builder clearEkCert()
A PEM-encoded X.509 certificate. This field can be empty.
optional string ek_cert = 450178589;
Returns
clearEkPub()
public ShieldedInstanceIdentityEntry.Builder clearEkPub()
A PEM-encoded public key.
optional string ek_pub = 308947940;
Returns
clearField(Descriptors.FieldDescriptor field)
public ShieldedInstanceIdentityEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ShieldedInstanceIdentityEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ShieldedInstanceIdentityEntry.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ShieldedInstanceIdentityEntry getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ShieldedInstanceIdentityEntry other)
public ShieldedInstanceIdentityEntry.Builder mergeFrom(ShieldedInstanceIdentityEntry other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ShieldedInstanceIdentityEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ShieldedInstanceIdentityEntry.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceIdentityEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 | String
The ekCert to set.
|
Returns
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 | ByteString
The bytes for ekCert to set.
|
Returns
setEkPub(String value)
public ShieldedInstanceIdentityEntry.Builder setEkPub(String value)
A PEM-encoded public key.
optional string ek_pub = 308947940;
Parameter
Name | Description |
value | String
The ekPub to set.
|
Returns
setEkPubBytes(ByteString value)
public ShieldedInstanceIdentityEntry.Builder setEkPubBytes(ByteString value)
A PEM-encoded public key.
optional string ek_pub = 308947940;
Parameter
Name | Description |
value | ByteString
The bytes for ekPub to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceIdentityEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ShieldedInstanceIdentityEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceIdentityEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides