Class CreateDeliveryPipelineRequest.Builder (1.21.0)

public static final class CreateDeliveryPipelineRequest.Builder extends GeneratedMessageV3.Builder<CreateDeliveryPipelineRequest.Builder> implements CreateDeliveryPipelineRequestOrBuilder

The request object for CreateDeliveryPipeline.

Protobuf type google.cloud.deploy.v1.CreateDeliveryPipelineRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDeliveryPipelineRequest build()
Returns
TypeDescription
CreateDeliveryPipelineRequest

buildPartial()

public CreateDeliveryPipelineRequest buildPartial()
Returns
TypeDescription
CreateDeliveryPipelineRequest

clear()

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

clearDeliveryPipeline()

public CreateDeliveryPipelineRequest.Builder clearDeliveryPipeline()

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

clearDeliveryPipelineId()

public CreateDeliveryPipelineRequest.Builder clearDeliveryPipelineId()

Required. ID of the DeliveryPipeline.

string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateDeliveryPipelineRequest.Builder clearParent()

Required. The parent collection in which the DeliveryPipeline should be created. Format should be projects/{project_id}/locations/{location_name}.

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

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

clearRequestId()

public CreateDeliveryPipelineRequest.Builder clearRequestId()

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateDeliveryPipelineRequest.Builder clearValidateOnly()

Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.

bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateDeliveryPipelineRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDeliveryPipelineRequest

getDeliveryPipeline()

public DeliveryPipeline getDeliveryPipeline()

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeliveryPipeline

The deliveryPipeline.

getDeliveryPipelineBuilder()

public DeliveryPipeline.Builder getDeliveryPipelineBuilder()

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeliveryPipeline.Builder

getDeliveryPipelineId()

public String getDeliveryPipelineId()

Required. ID of the DeliveryPipeline.

string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The deliveryPipelineId.

getDeliveryPipelineIdBytes()

public ByteString getDeliveryPipelineIdBytes()

Required. ID of the DeliveryPipeline.

string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for deliveryPipelineId.

getDeliveryPipelineOrBuilder()

public DeliveryPipelineOrBuilder getDeliveryPipelineOrBuilder()

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeliveryPipelineOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent collection in which the DeliveryPipeline should be created. Format should be projects/{project_id}/locations/{location_name}.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent collection in which the DeliveryPipeline should be created. Format should be projects/{project_id}/locations/{location_name}.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for requestId.

getValidateOnly()

public boolean getValidateOnly()

Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.

bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The validateOnly.

hasDeliveryPipeline()

public boolean hasDeliveryPipeline()

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the deliveryPipeline field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDeliveryPipeline(DeliveryPipeline value)

public CreateDeliveryPipelineRequest.Builder mergeDeliveryPipeline(DeliveryPipeline value)

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDeliveryPipeline
Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

mergeFrom(CreateDeliveryPipelineRequest other)

public CreateDeliveryPipelineRequest.Builder mergeFrom(CreateDeliveryPipelineRequest other)
Parameter
NameDescription
otherCreateDeliveryPipelineRequest
Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeliveryPipeline(DeliveryPipeline value)

public CreateDeliveryPipelineRequest.Builder setDeliveryPipeline(DeliveryPipeline value)

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDeliveryPipeline
Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

setDeliveryPipeline(DeliveryPipeline.Builder builderForValue)

public CreateDeliveryPipelineRequest.Builder setDeliveryPipeline(DeliveryPipeline.Builder builderForValue)

Required. The DeliveryPipeline to create.

.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDeliveryPipeline.Builder
Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

setDeliveryPipelineId(String value)

public CreateDeliveryPipelineRequest.Builder setDeliveryPipelineId(String value)

Required. ID of the DeliveryPipeline.

string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The deliveryPipelineId to set.

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

setDeliveryPipelineIdBytes(ByteString value)

public CreateDeliveryPipelineRequest.Builder setDeliveryPipelineIdBytes(ByteString value)

Required. ID of the DeliveryPipeline.

string delivery_pipeline_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for deliveryPipelineId to set.

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateDeliveryPipelineRequest.Builder setParent(String value)

Required. The parent collection in which the DeliveryPipeline should be created. Format should be projects/{project_id}/locations/{location_name}.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateDeliveryPipelineRequest.Builder setParentBytes(ByteString value)

Required. The parent collection in which the DeliveryPipeline should be created. Format should be projects/{project_id}/locations/{location_name}.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public CreateDeliveryPipelineRequest.Builder setRequestId(String value)

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateDeliveryPipelineRequest.Builder setRequestIdBytes(ByteString value)

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateDeliveryPipelineRequest.Builder setValidateOnly(boolean value)

Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.

bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
CreateDeliveryPipelineRequest.Builder

This builder for chaining.