All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.pubsub.v1.SchemaOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.114.2
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/pubsub/v1/schema.proto

// Protobuf Java Version: 3.25.3
package com.google.pubsub.v1;

public interface SchemaOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.pubsub.v1.Schema)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. Name of the schema.
   * Format is `projects/{project}/schemas/{schema}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Required. Name of the schema.
   * Format is `projects/{project}/schemas/{schema}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * The type of the schema definition.
   * 
* * .google.pubsub.v1.Schema.Type type = 2; * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * * *
   * The type of the schema definition.
   * 
* * .google.pubsub.v1.Schema.Type type = 2; * * @return The type. */ com.google.pubsub.v1.Schema.Type getType(); /** * * *
   * The definition of the schema. This should contain a string representing
   * the full definition of the schema that is a valid schema definition of
   * the type specified in `type`.
   * 
* * string definition = 3; * * @return The definition. */ java.lang.String getDefinition(); /** * * *
   * The definition of the schema. This should contain a string representing
   * the full definition of the schema that is a valid schema definition of
   * the type specified in `type`.
   * 
* * string definition = 3; * * @return The bytes for definition. */ com.google.protobuf.ByteString getDefinitionBytes(); /** * * *
   * Output only. Immutable. The revision ID of the schema.
   * 
* * * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The revisionId. */ java.lang.String getRevisionId(); /** * * *
   * Output only. Immutable. The revision ID of the schema.
   * 
* * * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The bytes for revisionId. */ com.google.protobuf.ByteString getRevisionIdBytes(); /** * * *
   * Output only. The timestamp that the revision was created.
   * 
* * * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** * * *
   * Output only. The timestamp that the revision was created.
   * 
* * * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** * * *
   * Output only. The timestamp that the revision was created.
   * 
* * * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy