Class DeleteEnvironmentRequest.Builder (1.31.0)

public static final class DeleteEnvironmentRequest.Builder extends GeneratedMessageV3.Builder<DeleteEnvironmentRequest.Builder> implements DeleteEnvironmentRequestOrBuilder

Request for deleting a notebook environment.

Protobuf type google.cloud.notebooks.v1beta1.DeleteEnvironmentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteEnvironmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

build()

public DeleteEnvironmentRequest build()
Returns
TypeDescription
DeleteEnvironmentRequest

buildPartial()

public DeleteEnvironmentRequest buildPartial()
Returns
TypeDescription
DeleteEnvironmentRequest

clear()

public DeleteEnvironmentRequest.Builder clear()
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteEnvironmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

clearName()

public DeleteEnvironmentRequest.Builder clearName()

Required. Format: projects/{project_id}/locations/{location}/environments/{environment_id}

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

Returns
TypeDescription
DeleteEnvironmentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteEnvironmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

clone()

public DeleteEnvironmentRequest.Builder clone()
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteEnvironmentRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteEnvironmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Format: projects/{project_id}/locations/{location}/environments/{environment_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}/environments/{environment_id}

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteEnvironmentRequest other)

public DeleteEnvironmentRequest.Builder mergeFrom(DeleteEnvironmentRequest other)
Parameter
NameDescription
otherDeleteEnvironmentRequest
Returns
TypeDescription
DeleteEnvironmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteEnvironmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteEnvironmentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteEnvironmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteEnvironmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

setName(String value)

public DeleteEnvironmentRequest.Builder setName(String value)

Required. Format: projects/{project_id}/locations/{location}/environments/{environment_id}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteEnvironmentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteEnvironmentRequest.Builder setNameBytes(ByteString value)

Required. Format: projects/{project_id}/locations/{location}/environments/{environment_id}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteEnvironmentRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteEnvironmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteEnvironmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteEnvironmentRequest.Builder
Overrides