Class DeleteApiDeploymentRevisionRequest.Builder (0.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteApiDeploymentRevisionRequest build()
Returns
TypeDescription
DeleteApiDeploymentRevisionRequest

buildPartial()

public DeleteApiDeploymentRevisionRequest buildPartial()
Returns
TypeDescription
DeleteApiDeploymentRevisionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteApiDeploymentRevisionRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteApiDeploymentRevisionRequest

getDescriptorForType()

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

public DeleteApiDeploymentRevisionRequest.Builder mergeFrom(DeleteApiDeploymentRevisionRequest other)
Parameter
NameDescription
otherDeleteApiDeploymentRevisionRequest
Returns
TypeDescription
DeleteApiDeploymentRevisionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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