public final class ValidateSchemaRequest extends GeneratedMessageV3 implements ValidateSchemaRequestOrBuilder
Request for the ValidateSchema
method.
Protobuf type google.pubsub.v1.ValidateSchemaRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ValidateSchemaRequestImplements
ValidateSchemaRequestOrBuilderStatic Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ValidateSchemaRequest getDefaultInstance()
Type | Description |
ValidateSchemaRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ValidateSchemaRequest.Builder newBuilder()
Type | Description |
ValidateSchemaRequest.Builder |
newBuilder(ValidateSchemaRequest prototype)
public static ValidateSchemaRequest.Builder newBuilder(ValidateSchemaRequest prototype)
Name | Description |
prototype | ValidateSchemaRequest |
Type | Description |
ValidateSchemaRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ValidateSchemaRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ValidateSchemaRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ValidateSchemaRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateSchemaRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ValidateSchemaRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ValidateSchemaRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValidateSchemaRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateSchemaRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ValidateSchemaRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ValidateSchemaRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValidateSchemaRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateSchemaRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ValidateSchemaRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ValidateSchemaRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ValidateSchemaRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateSchemaRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ValidateSchemaRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ValidateSchemaRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ValidateSchemaRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateSchemaRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ValidateSchemaRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ValidateSchemaRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValidateSchemaRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateSchemaRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ValidateSchemaRequest> parser()
Type | Description |
Parser<ValidateSchemaRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ValidateSchemaRequest getDefaultInstanceForType()
Type | Description |
ValidateSchemaRequest |
getParent()
public String getParent()
Required. The name of the project in which to validate schemas.
Format is projects/{project-id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the project in which to validate schemas.
Format is projects/{project-id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<ValidateSchemaRequest> getParserForType()
Type | Description |
Parser<ValidateSchemaRequest> |
getSchema()
public Schema getSchema()
Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Schema | The schema. |
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()
Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SchemaOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasSchema()
public boolean hasSchema()
Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the schema field is set. |
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 ValidateSchemaRequest.Builder newBuilderForType()
Type | Description |
ValidateSchemaRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValidateSchemaRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ValidateSchemaRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ValidateSchemaRequest.Builder toBuilder()
Type | Description |
ValidateSchemaRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |