Class ShieldedInstanceConfig

  • All Implemented Interfaces:
    ShieldedInstanceConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ShieldedInstanceConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements ShieldedInstanceConfigOrBuilder
     Shielded Instance Config for clusters using [Compute Engine Shielded
     VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
     
    Protobuf type google.cloud.dataproc.v1.ShieldedInstanceConfig
    See Also:
    Serialized Form
    • Field Detail

      • ENABLE_SECURE_BOOT_FIELD_NUMBER

        public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENABLE_VTPM_FIELD_NUMBER

        public static final int ENABLE_VTPM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER

        public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasEnableSecureBoot

        public boolean hasEnableSecureBoot()
         Optional. Defines whether instances have Secure Boot enabled.
         
        optional bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasEnableSecureBoot in interface ShieldedInstanceConfigOrBuilder
        Returns:
        Whether the enableSecureBoot field is set.
      • getEnableSecureBoot

        public boolean getEnableSecureBoot()
         Optional. Defines whether instances have Secure Boot enabled.
         
        optional bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEnableSecureBoot in interface ShieldedInstanceConfigOrBuilder
        Returns:
        The enableSecureBoot.
      • hasEnableVtpm

        public boolean hasEnableVtpm()
         Optional. Defines whether instances have the vTPM enabled.
         
        optional bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasEnableVtpm in interface ShieldedInstanceConfigOrBuilder
        Returns:
        Whether the enableVtpm field is set.
      • getEnableVtpm

        public boolean getEnableVtpm()
         Optional. Defines whether instances have the vTPM enabled.
         
        optional bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEnableVtpm in interface ShieldedInstanceConfigOrBuilder
        Returns:
        The enableVtpm.
      • hasEnableIntegrityMonitoring

        public boolean hasEnableIntegrityMonitoring()
         Optional. Defines whether instances have integrity monitoring enabled.
         
        optional bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasEnableIntegrityMonitoring in interface ShieldedInstanceConfigOrBuilder
        Returns:
        Whether the enableIntegrityMonitoring field is set.
      • getEnableIntegrityMonitoring

        public boolean getEnableIntegrityMonitoring()
         Optional. Defines whether instances have integrity monitoring enabled.
         
        optional bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEnableIntegrityMonitoring in interface ShieldedInstanceConfigOrBuilder
        Returns:
        The enableIntegrityMonitoring.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ShieldedInstanceConfig parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShieldedInstanceConfig parseFrom​(ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShieldedInstanceConfig parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShieldedInstanceConfig parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShieldedInstanceConfig parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ShieldedInstanceConfig parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public ShieldedInstanceConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ShieldedInstanceConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ShieldedInstanceConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ShieldedInstanceConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ShieldedInstanceConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder