Class ShieldedInstanceIdentity.Builder

    • Method Detail

      • 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.Builder<ShieldedInstanceIdentity.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ShieldedInstanceIdentity.Builder>
      • getDefaultInstanceForType

        public ShieldedInstanceIdentity getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ShieldedInstanceIdentity build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ShieldedInstanceIdentity buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public ShieldedInstanceIdentity.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ShieldedInstanceIdentity.Builder>
      • addRepeatedField

        public ShieldedInstanceIdentity.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ShieldedInstanceIdentity.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ShieldedInstanceIdentity.Builder>
      • mergeFrom

        public ShieldedInstanceIdentity.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ShieldedInstanceIdentity.Builder>
        Throws:
        IOException
      • hasEncryptionKey

        public boolean hasEncryptionKey()
         An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;
        Specified by:
        hasEncryptionKey in interface ShieldedInstanceIdentityOrBuilder
        Returns:
        Whether the encryptionKey field is set.
      • setEncryptionKey

        public ShieldedInstanceIdentity.Builder setEncryptionKey​(ShieldedInstanceIdentityEntry value)
         An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;
      • mergeEncryptionKey

        public ShieldedInstanceIdentity.Builder mergeEncryptionKey​(ShieldedInstanceIdentityEntry value)
         An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;
      • clearEncryptionKey

        public ShieldedInstanceIdentity.Builder clearEncryptionKey()
         An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;
      • getEncryptionKeyBuilder

        public ShieldedInstanceIdentityEntry.Builder getEncryptionKeyBuilder()
         An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;
      • hasKind

        public boolean hasKind()
         [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.
         
        optional string kind = 3292052;
        Specified by:
        hasKind in interface ShieldedInstanceIdentityOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.
         
        optional string kind = 3292052;
        Specified by:
        getKind in interface ShieldedInstanceIdentityOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.
         
        optional string kind = 3292052;
        Specified by:
        getKindBytes in interface ShieldedInstanceIdentityOrBuilder
        Returns:
        The bytes for kind.
      • setKind

        public ShieldedInstanceIdentity.Builder setKind​(String value)
         [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.
         
        optional string kind = 3292052;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public ShieldedInstanceIdentity.Builder clearKind()
         [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.
         
        optional string kind = 3292052;
        Returns:
        This builder for chaining.
      • setKindBytes

        public ShieldedInstanceIdentity.Builder setKindBytes​(com.google.protobuf.ByteString value)
         [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.
         
        optional string kind = 3292052;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.
      • hasSigningKey

        public boolean hasSigningKey()
         An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry signing_key = 320948261;
        Specified by:
        hasSigningKey in interface ShieldedInstanceIdentityOrBuilder
        Returns:
        Whether the signingKey field is set.
      • clearSigningKey

        public ShieldedInstanceIdentity.Builder clearSigningKey()
         An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry signing_key = 320948261;
      • getSigningKeyBuilder

        public ShieldedInstanceIdentityEntry.Builder getSigningKeyBuilder()
         An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.
         
        optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry signing_key = 320948261;
      • setUnknownFields

        public final ShieldedInstanceIdentity.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ShieldedInstanceIdentity.Builder>
      • mergeUnknownFields

        public final ShieldedInstanceIdentity.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ShieldedInstanceIdentity.Builder>