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

com.google.protobuf.StructOrBuilder Maven / Gradle / Ivy

Go to download

Kotlin core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.

There is a newer version: 4.29.0-RC2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/struct.proto
// Protobuf Java Version: 4.28.2

package com.google.protobuf;

public interface StructOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.protobuf.Struct)
    com.google.protobuf.MessageOrBuilder {

  /**
   * map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
   */
  int getFieldsCount();
  /**
   * map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
   */
  boolean containsFields(
      java.lang.String key);
  /**
   * Use {@link #getFieldsMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getFields();
  /**
   * map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
   */
  java.util.Map
  getFieldsMap();
  /**
   * map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
   */
  /* nullable */
com.google.protobuf.Value getFieldsOrDefault(
      java.lang.String key,
      /* nullable */
com.google.protobuf.Value defaultValue);
  /**
   * map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
   */
  com.google.protobuf.Value getFieldsOrThrow(
      java.lang.String key);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy