Class DeleteApiDeploymentRevisionRequest.Builder (0.55.0)

public static final class DeleteApiDeploymentRevisionRequest.Builder extends GeneratedMessageV3.Builder<DeleteApiDeploymentRevisionRequest.Builder> implements DeleteApiDeploymentRevisionRequestOrBuilder

Request message for DeleteApiDeploymentRevision.

Protobuf type google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteApiDeploymentRevisionRequest build()
Returns
Type Description
DeleteApiDeploymentRevisionRequest

buildPartial()

public DeleteApiDeploymentRevisionRequest buildPartial()
Returns
Type Description
DeleteApiDeploymentRevisionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteApiDeploymentRevisionRequest.Builder clearName()

Required. The name of the deployment revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8

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

Returns
Type Description
DeleteApiDeploymentRevisionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteApiDeploymentRevisionRequest getDefaultInstanceForType()
Returns
Type Description
DeleteApiDeploymentRevisionRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the deployment revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the deployment revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8

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(DeleteApiDeploymentRevisionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteApiDeploymentRevisionRequest.Builder setName(String value)

Required. The name of the deployment revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteApiDeploymentRevisionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteApiDeploymentRevisionRequest.Builder setNameBytes(ByteString value)

Required. The name of the deployment revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8

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
DeleteApiDeploymentRevisionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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