Send feedback
Class ShieldedInstanceIdentityEntry.Builder (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.0 keyboard_arrow_down
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]