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

target.apidocs.com.google.api.services.pubsub.model.Schema.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240730-2.0.0
Show newest version






Schema (Cloud Pub/Sub API v1-rev20240918-2.0.0)












com.google.api.services.pubsub.model

Class Schema

    • Constructor Detail

      • Schema

        public Schema()
    • Method Detail

      • getDefinition

        public 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`.
        Returns:
        value or null for none
      • setDefinition

        public Schema setDefinition(String definition)
        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`.
        Parameters:
        definition - definition or null for none
      • getName

        public String getName()
        Required. Name of the schema. Format is `projects/{project}/schemas/{schema}`.
        Returns:
        value or null for none
      • setName

        public Schema setName(String name)
        Required. Name of the schema. Format is `projects/{project}/schemas/{schema}`.
        Parameters:
        name - name or null for none
      • getRevisionCreateTime

        public String getRevisionCreateTime()
        Output only. The timestamp that the revision was created.
        Returns:
        value or null for none
      • setRevisionCreateTime

        public Schema setRevisionCreateTime(String revisionCreateTime)
        Output only. The timestamp that the revision was created.
        Parameters:
        revisionCreateTime - revisionCreateTime or null for none
      • getRevisionId

        public String getRevisionId()
        Output only. Immutable. The revision ID of the schema.
        Returns:
        value or null for none
      • setRevisionId

        public Schema setRevisionId(String revisionId)
        Output only. Immutable. The revision ID of the schema.
        Parameters:
        revisionId - revisionId or null for none
      • getType

        public String getType()
        The type of the schema definition.
        Returns:
        value or null for none
      • setType

        public Schema setType(String type)
        The type of the schema definition.
        Parameters:
        type - type or null for none
      • set

        public Schema set(String fieldName,
                          Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Schema clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy