Interface ValidateMessageRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ValidateMessageRequest, ValidateMessageRequest.Builder

    public interface ValidateMessageRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Encoding getEncoding()
      The encoding expected for messages
      int getEncodingValue()
      The encoding expected for messages
      com.google.protobuf.ByteString getMessage()
      Message to validate against the provided `schema_spec`.
      String getName()
      Name of the schema against which to validate.
      com.google.protobuf.ByteString getNameBytes()
      Name of the schema against which to validate.
      String getParent()
      Required.
      com.google.protobuf.ByteString getParentBytes()
      Required.
      Schema getSchema()
      Ad-hoc schema against which to validate
      SchemaOrBuilder getSchemaOrBuilder()
      Ad-hoc schema against which to validate
      ValidateMessageRequest.SchemaSpecCase getSchemaSpecCase()  
      boolean hasName()
      Name of the schema against which to validate.
      boolean hasSchema()
      Ad-hoc schema against which to validate
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getParent

        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) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.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) = { ... }
        Returns:
        The bytes for parent.
      • hasName

        boolean hasName()
         Name of the schema against which to validate.
        
         Format is `projects/{project}/schemas/{schema}`.
         
        string name = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name of the schema against which to validate.
        
         Format is `projects/{project}/schemas/{schema}`.
         
        string name = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the schema against which to validate.
        
         Format is `projects/{project}/schemas/{schema}`.
         
        string name = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • hasSchema

        boolean hasSchema()
         Ad-hoc schema against which to validate
         
        .google.pubsub.v1.Schema schema = 3;
        Returns:
        Whether the schema field is set.
      • getSchema

        Schema getSchema()
         Ad-hoc schema against which to validate
         
        .google.pubsub.v1.Schema schema = 3;
        Returns:
        The schema.
      • getSchemaOrBuilder

        SchemaOrBuilder getSchemaOrBuilder()
         Ad-hoc schema against which to validate
         
        .google.pubsub.v1.Schema schema = 3;
      • getMessage

        com.google.protobuf.ByteString getMessage()
         Message to validate against the provided `schema_spec`.
         
        bytes message = 4;
        Returns:
        The message.
      • getEncodingValue

        int getEncodingValue()
         The encoding expected for messages
         
        .google.pubsub.v1.Encoding encoding = 5;
        Returns:
        The enum numeric value on the wire for encoding.
      • getEncoding

        Encoding getEncoding()
         The encoding expected for messages
         
        .google.pubsub.v1.Encoding encoding = 5;
        Returns:
        The encoding.