Class Message
java.lang.Object
com.google.api.generator.gapic.model.Message
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Message.Builderbuilder()fieldMap()abstract com.google.common.collect.ImmutableList<Field>fields()Returns the first list repeated field in a message, unwrapped from its list type.abstract StringbooleanbooleanisEnum()abstract Stringname()abstract OperationResponseabstract com.google.common.collect.ImmutableList<String>abstract ResourceNameresource()abstract Message.Builderabstract TypeNodetype()voidValidates if the field or fields exist in the message and the type of the leaf level field.
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
name
-
fullProtoName
-
fields
-
enumValues
-
type
-
fieldMap
-
operationResponse
-
operationRequestFields
-
operationResponseFields
-
resource
-
outerNestedTypes
-
toBuilder
-
isEnum
public boolean isEnum() -
hasResource
public boolean hasResource() -
validateField
Validates if the field or fields exist in the message and the type of the leaf level field.- Parameters:
fieldName- The field name. For nested field, concatenate each field name with dot. For example: abc.def.ghimessageTypes- All messages configured in a rpc service.type-TypeNodeThe expected type for the leaf level field
-
findAndUnwrapPaginatedRepeatedField
Returns the first list repeated field in a message, unwrapped from its list type. -
builder
-