Class AbandonReleaseRequest.Builder (1.50.0)

public static final class AbandonReleaseRequest.Builder extends GeneratedMessageV3.Builder<AbandonReleaseRequest.Builder> implements AbandonReleaseRequestOrBuilder

The request object used by AbandonRelease.

Protobuf type google.cloud.deploy.v1.AbandonReleaseRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AbandonReleaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

build()

public AbandonReleaseRequest build()
Returns
Type Description
AbandonReleaseRequest

buildPartial()

public AbandonReleaseRequest buildPartial()
Returns
Type Description
AbandonReleaseRequest

clear()

public AbandonReleaseRequest.Builder clear()
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AbandonReleaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

clearName()

public AbandonReleaseRequest.Builder clearName()

Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}.

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

Returns
Type Description
AbandonReleaseRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AbandonReleaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

clone()

public AbandonReleaseRequest.Builder clone()
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

getDefaultInstanceForType()

public AbandonReleaseRequest getDefaultInstanceForType()
Returns
Type Description
AbandonReleaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AbandonReleaseRequest other)

public AbandonReleaseRequest.Builder mergeFrom(AbandonReleaseRequest other)
Parameter
Name Description
other AbandonReleaseRequest
Returns
Type Description
AbandonReleaseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AbandonReleaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AbandonReleaseRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AbandonReleaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AbandonReleaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

setName(String value)

public AbandonReleaseRequest.Builder setName(String value)

Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AbandonReleaseRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AbandonReleaseRequest.Builder setNameBytes(ByteString value)

Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AbandonReleaseRequest.Builder

This builder for chaining.

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

public AbandonReleaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AbandonReleaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AbandonReleaseRequest.Builder
Overrides