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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeleteSchemaRequest build()
Returns
buildPartial()
public DeleteSchemaRequest buildPartial()
Returns
clear()
public DeleteSchemaRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeleteSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DeleteSchemaRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeleteSchemaRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public DeleteSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeleteSchemaRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(DeleteSchemaRequest other)
public DeleteSchemaRequest.Builder mergeFrom(DeleteSchemaRequest other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The name to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides