Class CreateScheduleRequest.Builder (3.15.0)

public static final class CreateScheduleRequest.Builder extends GeneratedMessageV3.Builder<CreateScheduleRequest.Builder> implements CreateScheduleRequestOrBuilder

Request message for ScheduleService.CreateSchedule.

Protobuf type google.cloud.aiplatform.v1beta1.CreateScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateScheduleRequest build()
Returns
TypeDescription
CreateScheduleRequest

buildPartial()

public CreateScheduleRequest buildPartial()
Returns
TypeDescription
CreateScheduleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateScheduleRequest.Builder clearParent()

Required. The resource name of the Location to create the Schedule in. Format: projects/{project}/locations/{location}

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

Returns
TypeDescription
CreateScheduleRequest.Builder

This builder for chaining.

clearSchedule()

public CreateScheduleRequest.Builder clearSchedule()

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateScheduleRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the Location to create the Schedule in. Format: projects/{project}/locations/{location}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create the Schedule in. Format: projects/{project}/locations/{location}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getSchedule()

public Schedule getSchedule()

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schedule

The schedule.

getScheduleBuilder()

public Schedule.Builder getScheduleBuilder()

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schedule.Builder

getScheduleOrBuilder()

public ScheduleOrBuilder getScheduleOrBuilder()

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ScheduleOrBuilder

hasSchedule()

public boolean hasSchedule()

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the schedule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateScheduleRequest other)

public CreateScheduleRequest.Builder mergeFrom(CreateScheduleRequest other)
Parameter
NameDescription
otherCreateScheduleRequest
Returns
TypeDescription
CreateScheduleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSchedule(Schedule value)

public CreateScheduleRequest.Builder mergeSchedule(Schedule value)

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSchedule
Returns
TypeDescription
CreateScheduleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateScheduleRequest.Builder setParent(String value)

Required. The resource name of the Location to create the Schedule in. Format: projects/{project}/locations/{location}

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateScheduleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateScheduleRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the Schedule in. Format: projects/{project}/locations/{location}

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateScheduleRequest.Builder

This builder for chaining.

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

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

setSchedule(Schedule value)

public CreateScheduleRequest.Builder setSchedule(Schedule value)

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSchedule
Returns
TypeDescription
CreateScheduleRequest.Builder

setSchedule(Schedule.Builder builderForValue)

public CreateScheduleRequest.Builder setSchedule(Schedule.Builder builderForValue)

Required. The Schedule to create.

.google.cloud.aiplatform.v1beta1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSchedule.Builder
Returns
TypeDescription
CreateScheduleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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