Class TriggerScheduleRequest.Builder (1.37.0)

public static final class TriggerScheduleRequest.Builder extends GeneratedMessageV3.Builder<TriggerScheduleRequest.Builder> implements TriggerScheduleRequestOrBuilder

Request for created scheduled notebooks

Protobuf type google.cloud.notebooks.v1.TriggerScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TriggerScheduleRequest build()
Returns
TypeDescription
TriggerScheduleRequest

buildPartial()

public TriggerScheduleRequest buildPartial()
Returns
TypeDescription
TriggerScheduleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public TriggerScheduleRequest.Builder clearName()

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

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

Returns
TypeDescription
TriggerScheduleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TriggerScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
TriggerScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Format: parent=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: parent=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(TriggerScheduleRequest other)

public TriggerScheduleRequest.Builder mergeFrom(TriggerScheduleRequest other)
Parameter
NameDescription
otherTriggerScheduleRequest
Returns
TypeDescription
TriggerScheduleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public TriggerScheduleRequest.Builder setName(String value)

Required. Format: parent=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
TriggerScheduleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TriggerScheduleRequest.Builder setNameBytes(ByteString value)

Required. Format: parent=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
TriggerScheduleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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