Interface StructOrBuilder (3.19.4)

  public 
  
 interface 
 StructOrBuilder 
  
 extends 
  
 MessageLiteOrBuilder 
 

Methods

containsFields(String key)

  public 
  
 abstract 
  
 boolean 
  
 containsFields 
 ( 
 String 
  
 key 
 ) 
 

Unordered map of dynamically typed values.

map<string, .google.protobuf.Value> fields = 1;

Parameter
Name
Description
key
Returns
Type
Description

getFields()

  public 
  
 abstract 
  
 Map<String 
 , 
 Value 
>  
 getFields 
 () 
 

Use #getFieldsMap() instead.

Returns
Type
Description
Map < String , Value >

getFieldsCount()

  public 
  
 abstract 
  
 int 
  
 getFieldsCount 
 () 
 

Unordered map of dynamically typed values.

map<string, .google.protobuf.Value> fields = 1;

Returns
Type
Description
int

getFieldsMap()

  public 
  
 abstract 
  
 Map<String 
 , 
 Value 
>  
 getFieldsMap 
 () 
 

Unordered map of dynamically typed values.

map<string, .google.protobuf.Value> fields = 1;

Returns
Type
Description
Map < String , Value >

getFieldsOrDefault(String key, Value defaultValue)

  public 
  
 abstract 
  
 Value 
  
 getFieldsOrDefault 
 ( 
 String 
  
 key 
 , 
  
 Value 
  
 defaultValue 
 ) 
 

Unordered map of dynamically typed values.

map<string, .google.protobuf.Value> fields = 1;

Parameters
Name
Description
key
defaultValue
Returns
Type
Description

getFieldsOrThrow(String key)

  public 
  
 abstract 
  
 Value 
  
 getFieldsOrThrow 
 ( 
 String 
  
 key 
 ) 
 

Unordered map of dynamically typed values.

map<string, .google.protobuf.Value> fields = 1;

Parameter
Name
Description
key
Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: