Class DeleteDeploymentRevisionRequest.Builder (0.4.0)

public static final class DeleteDeploymentRevisionRequest.Builder extends GeneratedMessageV3.Builder<DeleteDeploymentRevisionRequest.Builder> implements DeleteDeploymentRevisionRequestOrBuilder

Request object for DeleteDeploymentRevision.

Protobuf type google.cloud.telcoautomation.v1alpha1.DeleteDeploymentRevisionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteDeploymentRevisionRequest build()
Returns
TypeDescription
DeleteDeploymentRevisionRequest

buildPartial()

public DeleteDeploymentRevisionRequest buildPartial()
Returns
TypeDescription
DeleteDeploymentRevisionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteDeploymentRevisionRequest.Builder clearName()

Required. The name of the deployment revision in the form {deployment_id}@{revision_id}.

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

Returns
TypeDescription
DeleteDeploymentRevisionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteDeploymentRevisionRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteDeploymentRevisionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the deployment revision in the form {deployment_id}@{revision_id}.

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 in the form {deployment_id}@{revision_id}.

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

public DeleteDeploymentRevisionRequest.Builder mergeFrom(DeleteDeploymentRevisionRequest other)
Parameter
NameDescription
otherDeleteDeploymentRevisionRequest
Returns
TypeDescription
DeleteDeploymentRevisionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteDeploymentRevisionRequest.Builder setName(String value)

Required. The name of the deployment revision in the form {deployment_id}@{revision_id}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteDeploymentRevisionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteDeploymentRevisionRequest.Builder setNameBytes(ByteString value)

Required. The name of the deployment revision in the form {deployment_id}@{revision_id}.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteDeploymentRevisionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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