Class DeleteSchemaRequest.Builder (1.123.18)

public static final class DeleteSchemaRequest.Builder extends GeneratedMessageV3.Builder<DeleteSchemaRequest.Builder> implements DeleteSchemaRequestOrBuilder

Request for the DeleteSchema method.

Protobuf type google.pubsub.v1.DeleteSchemaRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteSchemaRequest build()
Returns
TypeDescription
DeleteSchemaRequest

buildPartial()

public DeleteSchemaRequest buildPartial()
Returns
TypeDescription
DeleteSchemaRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteSchemaRequest.Builder clearName()

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

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

Returns
TypeDescription
DeleteSchemaRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteSchemaRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteSchemaRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

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 schema to delete. Format is projects/{project}/schemas/{schema}.

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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DeleteSchemaRequest other)

public DeleteSchemaRequest.Builder mergeFrom(DeleteSchemaRequest other)
Parameter
NameDescription
otherDeleteSchemaRequest
Returns
TypeDescription
DeleteSchemaRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteSchemaRequest.Builder setName(String value)

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteSchemaRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteSchemaRequest.Builder setNameBytes(ByteString value)

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteSchemaRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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