Class ShieldedInstanceConfig (4.0.5)

public final class ShieldedInstanceConfig extends GeneratedMessageV3 implements ShieldedInstanceConfigOrBuilder

Shielded Instance Config for clusters using Compute Engine Shielded VMs.

Protobuf type google.cloud.dataproc.v1.ShieldedInstanceConfig

Static Fields

ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER

public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_SECURE_BOOT_FIELD_NUMBER

public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_VTPM_FIELD_NUMBER

public static final int ENABLE_VTPM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ShieldedInstanceConfig getDefaultInstance()
Returns
TypeDescription
ShieldedInstanceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ShieldedInstanceConfig.Builder newBuilder()
Returns
TypeDescription
ShieldedInstanceConfig.Builder

newBuilder(ShieldedInstanceConfig prototype)

public static ShieldedInstanceConfig.Builder newBuilder(ShieldedInstanceConfig prototype)
Parameter
NameDescription
prototypeShieldedInstanceConfig
Returns
TypeDescription
ShieldedInstanceConfig.Builder

parseDelimitedFrom(InputStream input)

public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ShieldedInstanceConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ShieldedInstanceConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ShieldedInstanceConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ShieldedInstanceConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ShieldedInstanceConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ShieldedInstanceConfig> parser()
Returns
TypeDescription
Parser<ShieldedInstanceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ShieldedInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceConfig

getEnableIntegrityMonitoring()

public boolean getEnableIntegrityMonitoring()

Optional. Defines whether instances have integrity monitoring enabled.

bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The enableIntegrityMonitoring.

getEnableSecureBoot()

public boolean getEnableSecureBoot()

Optional. Defines whether instances have Secure Boot enabled.

bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The enableSecureBoot.

getEnableVtpm()

public boolean getEnableVtpm()

Optional. Defines whether instances have the vTPM enabled.

bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The enableVtpm.

getParserForType()

public Parser<ShieldedInstanceConfig> getParserForType()
Returns
TypeDescription
Parser<ShieldedInstanceConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ShieldedInstanceConfig.Builder newBuilderForType()
Returns
TypeDescription
ShieldedInstanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ShieldedInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ShieldedInstanceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ShieldedInstanceConfig.Builder toBuilder()
Returns
TypeDescription
ShieldedInstanceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException