public static final class CreateScheduleRequest.Builder extends GeneratedMessageV3.Builder<CreateScheduleRequest.Builder> implements CreateScheduleRequestOrBuilder
Request for created scheduled notebooks
Protobuf type google.cloud.notebooks.v1.CreateScheduleRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateScheduleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateScheduleRequest build()
buildPartial()
public CreateScheduleRequest buildPartial()
clear()
public CreateScheduleRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateScheduleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateScheduleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateScheduleRequest.Builder clearParent()
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearSchedule()
public CreateScheduleRequest.Builder clearSchedule()
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
clearScheduleId()
public CreateScheduleRequest.Builder clearScheduleId()
Required. User-defined unique ID of this schedule.
string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateScheduleRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateScheduleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getSchedule()
public Schedule getSchedule()
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Schedule | The schedule.
|
getScheduleBuilder()
public Schedule.Builder getScheduleBuilder()
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
getScheduleId()
public String getScheduleId()
Required. User-defined unique ID of this schedule.
string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The scheduleId.
|
getScheduleIdBytes()
public ByteString getScheduleIdBytes()
Required. User-defined unique ID of this schedule.
string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for scheduleId.
|
getScheduleOrBuilder()
public ScheduleOrBuilder getScheduleOrBuilder()
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
hasSchedule()
public boolean hasSchedule()
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the schedule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateScheduleRequest other)
public CreateScheduleRequest.Builder mergeFrom(CreateScheduleRequest other)
public CreateScheduleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateScheduleRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSchedule(Schedule value)
public CreateScheduleRequest.Builder mergeSchedule(Schedule value)
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateScheduleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateScheduleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateScheduleRequest.Builder setParent(String value)
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateScheduleRequest.Builder setParentBytes(ByteString value)
Required. Format:
parent=projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateScheduleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSchedule(Schedule value)
public CreateScheduleRequest.Builder setSchedule(Schedule value)
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
setSchedule(Schedule.Builder builderForValue)
public CreateScheduleRequest.Builder setSchedule(Schedule.Builder builderForValue)
Required. The schedule to be created.
.google.cloud.notebooks.v1.Schedule schedule = 3 [(.google.api.field_behavior) = REQUIRED];
setScheduleId(String value)
public CreateScheduleRequest.Builder setScheduleId(String value)
Required. User-defined unique ID of this schedule.
string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The scheduleId to set.
|
setScheduleIdBytes(ByteString value)
public CreateScheduleRequest.Builder setScheduleIdBytes(ByteString value)
Required. User-defined unique ID of this schedule.
string schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for scheduleId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateScheduleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides