public final class ValidateMessageRequest extends GeneratedMessageV3 implements ValidateMessageRequestOrBuilder
Request for the ValidateMessage
method.
Protobuf type google.pubsub.v1.ValidateMessageRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ValidateMessageRequestImplements
ValidateMessageRequestOrBuilderStatic Fields
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
Type | Description |
int |
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
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 ValidateMessageRequest getDefaultInstance()
Type | Description |
ValidateMessageRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ValidateMessageRequest.Builder newBuilder()
Type | Description |
ValidateMessageRequest.Builder |
newBuilder(ValidateMessageRequest prototype)
public static ValidateMessageRequest.Builder newBuilder(ValidateMessageRequest prototype)
Name | Description |
prototype | ValidateMessageRequest |
Type | Description |
ValidateMessageRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ValidateMessageRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ValidateMessageRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ValidateMessageRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateMessageRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ValidateMessageRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ValidateMessageRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValidateMessageRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateMessageRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ValidateMessageRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ValidateMessageRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValidateMessageRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateMessageRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ValidateMessageRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ValidateMessageRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ValidateMessageRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateMessageRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ValidateMessageRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ValidateMessageRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ValidateMessageRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateMessageRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ValidateMessageRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ValidateMessageRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValidateMessageRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ValidateMessageRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ValidateMessageRequest> parser()
Type | Description |
Parser<ValidateMessageRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ValidateMessageRequest getDefaultInstanceForType()
Type | Description |
ValidateMessageRequest |
getEncoding()
public Encoding getEncoding()
The encoding expected for messages
.google.pubsub.v1.Encoding encoding = 5;
Type | Description |
Encoding | The encoding. |
getEncodingValue()
public int getEncodingValue()
The encoding expected for messages
.google.pubsub.v1.Encoding encoding = 5;
Type | Description |
int | The enum numeric value on the wire for encoding. |
getMessage()
public ByteString getMessage()
Message to validate against the provided schema_spec
.
bytes message = 4;
Type | Description |
ByteString | The message. |
getName()
public String getName()
Name of the schema against which to validate.
Format is projects/{project}/schemas/{schema}
.
string name = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the schema against which to validate.
Format is projects/{project}/schemas/{schema}
.
string name = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
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<ValidateMessageRequest> getParserForType()
Type | Description |
Parser<ValidateMessageRequest> |
getSchema()
public Schema getSchema()
Ad-hoc schema against which to validate
.google.pubsub.v1.Schema schema = 3;
Type | Description |
Schema | The schema. |
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()
Ad-hoc schema against which to validate
.google.pubsub.v1.Schema schema = 3;
Type | Description |
SchemaOrBuilder |
getSchemaSpecCase()
public ValidateMessageRequest.SchemaSpecCase getSchemaSpecCase()
Type | Description |
ValidateMessageRequest.SchemaSpecCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasName()
public boolean hasName()
Name of the schema against which to validate.
Format is projects/{project}/schemas/{schema}
.
string name = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean | Whether the name field is set. |
hasSchema()
public boolean hasSchema()
Ad-hoc schema against which to validate
.google.pubsub.v1.Schema schema = 3;
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 ValidateMessageRequest.Builder newBuilderForType()
Type | Description |
ValidateMessageRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValidateMessageRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ValidateMessageRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ValidateMessageRequest.Builder toBuilder()
Type | Description |
ValidateMessageRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |