Package com.google.api.expr.v1alpha1
Class Expr.CreateStruct.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Expr.CreateStruct,Expr.CreateStruct.Builder>
com.google.api.expr.v1alpha1.Expr.CreateStruct.Builder
- All Implemented Interfaces:
Expr.CreateStructOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- Expr.CreateStruct
public static final class Expr.CreateStruct.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Expr.CreateStruct,Expr.CreateStruct.Builder>
implements Expr.CreateStructOrBuilder
A map or message creation expression. Maps are constructed as `{'key_name': 'value'}`. Message construction is similar, but prefixed with a type name and composed of field ids: `types.MyType{field_id: 'value'}`.Protobuf type
google.api.expr.v1alpha1.Expr.CreateStruct
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntries
(Iterable<? extends Expr.CreateStruct.Entry> values) The entries in the creation expression.addEntries
(int index, Expr.CreateStruct.Entry value) The entries in the creation expression.addEntries
(int index, Expr.CreateStruct.Entry.Builder builderForValue) The entries in the creation expression.The entries in the creation expression.addEntries
(Expr.CreateStruct.Entry.Builder builderForValue) The entries in the creation expression.The entries in the creation expression.The type name of the message to be created, empty when creating map literals.getEntries
(int index) The entries in the creation expression.int
The entries in the creation expression.The entries in the creation expression.The type name of the message to be created, empty when creating map literals.com.google.protobuf.ByteString
The type name of the message to be created, empty when creating map literals.removeEntries
(int index) The entries in the creation expression.setEntries
(int index, Expr.CreateStruct.Entry value) The entries in the creation expression.setEntries
(int index, Expr.CreateStruct.Entry.Builder builderForValue) The entries in the creation expression.setMessageName
(String value) The type name of the message to be created, empty when creating map literals.setMessageNameBytes
(com.google.protobuf.ByteString value) The type name of the message to be created, empty when creating map literals.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getMessageName
The type name of the message to be created, empty when creating map literals.
string message_name = 1 [json_name = "messageName"];
- Specified by:
getMessageName
in interfaceExpr.CreateStructOrBuilder
- Returns:
- The messageName.
-
getMessageNameBytes
public com.google.protobuf.ByteString getMessageNameBytes()The type name of the message to be created, empty when creating map literals.
string message_name = 1 [json_name = "messageName"];
- Specified by:
getMessageNameBytes
in interfaceExpr.CreateStructOrBuilder
- Returns:
- The bytes for messageName.
-
setMessageName
The type name of the message to be created, empty when creating map literals.
string message_name = 1 [json_name = "messageName"];
- Parameters:
value
- The messageName to set.- Returns:
- This builder for chaining.
-
clearMessageName
The type name of the message to be created, empty when creating map literals.
string message_name = 1 [json_name = "messageName"];
- Returns:
- This builder for chaining.
-
setMessageNameBytes
The type name of the message to be created, empty when creating map literals.
string message_name = 1 [json_name = "messageName"];
- Parameters:
value
- The bytes for messageName to set.- Returns:
- This builder for chaining.
-
getEntriesList
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
- Specified by:
getEntriesList
in interfaceExpr.CreateStructOrBuilder
-
getEntriesCount
public int getEntriesCount()The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
- Specified by:
getEntriesCount
in interfaceExpr.CreateStructOrBuilder
-
getEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
- Specified by:
getEntries
in interfaceExpr.CreateStructOrBuilder
-
setEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
setEntries
public Expr.CreateStruct.Builder setEntries(int index, Expr.CreateStruct.Entry.Builder builderForValue) The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
addEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
addEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
addEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
addEntries
public Expr.CreateStruct.Builder addEntries(int index, Expr.CreateStruct.Entry.Builder builderForValue) The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
addAllEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
clearEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-
removeEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2 [json_name = "entries"];
-