Class DeleteScheduleRequest.Builder (1.1.0)

public static final class DeleteScheduleRequest.Builder extends GeneratedMessageV3.Builder<DeleteScheduleRequest.Builder> implements DeleteScheduleRequestOrBuilder

Request for deleting an Schedule

Protobuf type google.cloud.notebooks.v1.DeleteScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteScheduleRequest build()
Returns
TypeDescription
DeleteScheduleRequest

buildPartial()

public DeleteScheduleRequest buildPartial()
Returns
TypeDescription
DeleteScheduleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteScheduleRequest.Builder clearName()

Required. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteScheduleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

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(DeleteScheduleRequest other)

public DeleteScheduleRequest.Builder mergeFrom(DeleteScheduleRequest other)
Parameter
NameDescription
otherDeleteScheduleRequest
Returns
TypeDescription
DeleteScheduleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteScheduleRequest.Builder setName(String value)

Required. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteScheduleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteScheduleRequest.Builder setNameBytes(ByteString value)

Required. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteScheduleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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