public final class DeleteSchemaRevisionRequest extends GeneratedMessageV3 implements DeleteSchemaRevisionRequestOrBuilder
Request for the DeleteSchemaRevision
method.
Protobuf type google.pubsub.v1.DeleteSchemaRevisionRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DeleteSchemaRevisionRequestImplements
DeleteSchemaRevisionRequestOrBuilderStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DeleteSchemaRevisionRequest getDefaultInstance()
Type | Description |
DeleteSchemaRevisionRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static DeleteSchemaRevisionRequest.Builder newBuilder()
Type | Description |
DeleteSchemaRevisionRequest.Builder |
newBuilder(DeleteSchemaRevisionRequest prototype)
public static DeleteSchemaRevisionRequest.Builder newBuilder(DeleteSchemaRevisionRequest prototype)
Name | Description |
prototype | DeleteSchemaRevisionRequest |
Type | Description |
DeleteSchemaRevisionRequest.Builder |
parseDelimitedFrom(InputStream input)
public static DeleteSchemaRevisionRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeleteSchemaRevisionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DeleteSchemaRevisionRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeleteSchemaRevisionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DeleteSchemaRevisionRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeleteSchemaRevisionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DeleteSchemaRevisionRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeleteSchemaRevisionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static DeleteSchemaRevisionRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeleteSchemaRevisionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DeleteSchemaRevisionRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeleteSchemaRevisionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSchemaRevisionRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DeleteSchemaRevisionRequest> parser()
Type | Description |
Parser<DeleteSchemaRevisionRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public DeleteSchemaRevisionRequest getDefaultInstanceForType()
Type | Description |
DeleteSchemaRevisionRequest |
getName()
public String getName()
Required. The name of the schema revision to be deleted, with a revision ID explicitly included. Example: projects/123/schemas/my-schema@c7cfa2a8
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of the schema revision to be deleted, with a revision ID explicitly included. Example: projects/123/schemas/my-schema@c7cfa2a8
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<DeleteSchemaRevisionRequest> getParserForType()
Type | Description |
Parser<DeleteSchemaRevisionRequest> |
getRevisionId()
public String getRevisionId()
Required. The revision ID to roll back to. It must be a revision of the same schema. Example: c7cfa2a8
string revision_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The revisionId. |
getRevisionIdBytes()
public ByteString getRevisionIdBytes()
Required. The revision ID to roll back to. It must be a revision of the same schema. Example: c7cfa2a8
string revision_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for revisionId. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public DeleteSchemaRevisionRequest.Builder newBuilderForType()
Type | Description |
DeleteSchemaRevisionRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeleteSchemaRevisionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
DeleteSchemaRevisionRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public DeleteSchemaRevisionRequest.Builder toBuilder()
Type | Description |
DeleteSchemaRevisionRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |