Class AbandonReleaseRequest.Builder (1.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AbandonReleaseRequest build()
Returns
TypeDescription
AbandonReleaseRequest

buildPartial()

public AbandonReleaseRequest buildPartial()
Returns
TypeDescription
AbandonReleaseRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AbandonReleaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AbandonReleaseRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AbandonReleaseRequest getDefaultInstanceForType()
Returns
TypeDescription
AbandonReleaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(AbandonReleaseRequest other)

public AbandonReleaseRequest.Builder mergeFrom(AbandonReleaseRequest other)
Parameter
NameDescription
otherAbandonReleaseRequest
Returns
TypeDescription
AbandonReleaseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AbandonReleaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AbandonReleaseRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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