Class UpdateShieldedInstanceConfigRequest (1.21.0)

public final class UpdateShieldedInstanceConfigRequest extends GeneratedMessageV3 implements UpdateShieldedInstanceConfigRequestOrBuilder

Request for updating the Shielded Instance config for a notebook instance. You can only use this method on a stopped instance

Protobuf type google.cloud.notebooks.v1.UpdateShieldedInstanceConfigRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateShieldedInstanceConfigRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER

public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateShieldedInstanceConfigRequest getDefaultInstance()
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateShieldedInstanceConfigRequest prototype)

public static UpdateShieldedInstanceConfigRequest.Builder newBuilder(UpdateShieldedInstanceConfigRequest prototype)
Parameter
NameDescription
prototypeUpdateShieldedInstanceConfigRequest
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateShieldedInstanceConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest

getName()

public String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getShieldedInstanceConfig()

public Instance.ShieldedInstanceConfig getShieldedInstanceConfig()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
Instance.ShieldedInstanceConfig

The shieldedInstanceConfig.

getShieldedInstanceConfigOrBuilder()

public Instance.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
Instance.ShieldedInstanceConfigOrBuilder

hasShieldedInstanceConfig()

public boolean hasShieldedInstanceConfig()

ShieldedInstance configuration to be updated.

.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig shielded_instance_config = 2;

Returns
TypeDescription
boolean

Whether the shieldedInstanceConfig field is set.

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 UpdateShieldedInstanceConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateShieldedInstanceConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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