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

target.apidocs.com.google.api.services.servicemanagement.model.Field.html Maven / Gradle / Ivy

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






Field (Service Management API v1-rev20240823-2.0.0)












com.google.api.services.servicemanagement.model

Class Field

    • Constructor Detail

      • Field

        public Field()
    • Method Detail

      • getCardinality

        public String getCardinality()
        The field cardinality.
        Returns:
        value or null for none
      • setCardinality

        public Field setCardinality(String cardinality)
        The field cardinality.
        Parameters:
        cardinality - cardinality or null for none
      • getDefaultValue

        public String getDefaultValue()
        The string value of the default value of this field. Proto2 syntax only.
        Returns:
        value or null for none
      • setDefaultValue

        public Field setDefaultValue(String defaultValue)
        The string value of the default value of this field. Proto2 syntax only.
        Parameters:
        defaultValue - defaultValue or null for none
      • getJsonName

        public String getJsonName()
        The field JSON name.
        Returns:
        value or null for none
      • setJsonName

        public Field setJsonName(String jsonName)
        The field JSON name.
        Parameters:
        jsonName - jsonName or null for none
      • getKind

        public String getKind()
        The field type.
        Returns:
        value or null for none
      • setKind

        public Field setKind(String kind)
        The field type.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        The field name.
        Returns:
        value or null for none
      • setName

        public Field setName(String name)
        The field name.
        Parameters:
        name - name or null for none
      • getNumber

        public Integer getNumber()
        The field number.
        Returns:
        value or null for none
      • setNumber

        public Field setNumber(Integer number)
        The field number.
        Parameters:
        number - number or null for none
      • getOneofIndex

        public Integer getOneofIndex()
        The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.
        Returns:
        value or null for none
      • setOneofIndex

        public Field setOneofIndex(Integer oneofIndex)
        The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.
        Parameters:
        oneofIndex - oneofIndex or null for none
      • getOptions

        public List<Option> getOptions()
        The protocol buffer options.
        Returns:
        value or null for none
      • setOptions

        public Field setOptions(List<Option> options)
        The protocol buffer options.
        Parameters:
        options - options or null for none
      • getPacked

        public Boolean getPacked()
        Whether to use alternative packed wire representation.
        Returns:
        value or null for none
      • setPacked

        public Field setPacked(Boolean packed)
        Whether to use alternative packed wire representation.
        Parameters:
        packed - packed or null for none
      • getTypeUrl

        public String getTypeUrl()
        The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
        Returns:
        value or null for none
      • setTypeUrl

        public Field setTypeUrl(String typeUrl)
        The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
        Parameters:
        typeUrl - typeUrl or null for none
      • set

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

        public Field 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