public static final class DeleteSchemaRequest.Builder extends GeneratedMessageV3.Builder<DeleteSchemaRequest.Builder> implements DeleteSchemaRequestOrBuilder
Request for the DeleteSchema
method.
Protobuf type google.pubsub.v1.DeleteSchemaRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteSchemaRequest.BuilderImplements
DeleteSchemaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSchemaRequest.Builder |
build()
public DeleteSchemaRequest build()
Type | Description |
DeleteSchemaRequest |
buildPartial()
public DeleteSchemaRequest buildPartial()
Type | Description |
DeleteSchemaRequest |
clear()
public DeleteSchemaRequest.Builder clear()
Type | Description |
DeleteSchemaRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteSchemaRequest.Builder |
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) = { ... }
Type | Description |
DeleteSchemaRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteSchemaRequest.Builder |
clone()
public DeleteSchemaRequest.Builder clone()
Type | Description |
DeleteSchemaRequest.Builder |
getDefaultInstanceForType()
public DeleteSchemaRequest getDefaultInstanceForType()
Type | Description |
DeleteSchemaRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSchemaRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteSchemaRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteSchemaRequest.Builder |
mergeFrom(DeleteSchemaRequest other)
public DeleteSchemaRequest.Builder mergeFrom(DeleteSchemaRequest other)
Name | Description |
other | DeleteSchemaRequest |
Type | Description |
DeleteSchemaRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSchemaRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSchemaRequest.Builder |
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) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
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) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteSchemaRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSchemaRequest.Builder |