Package com.google.api.expr.v1alpha1
Class Type.ListType.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Type.ListType,Type.ListType.Builder>
com.google.api.expr.v1alpha1.Type.ListType.Builder
- All Implemented Interfaces:
Type.ListTypeOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- Type.ListType
public static final class Type.ListType.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Type.ListType,Type.ListType.Builder>
implements Type.ListTypeOrBuilder
List type with typed elements, e.g. `list<example.proto.MyMessage>`.Protobuf type
google.api.expr.v1alpha1.Type.ListType
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe element type.The element type.boolean
The element type.mergeElemType
(Type value) The element type.setElemType
(Type value) The element type.setElemType
(Type.Builder builderForValue) The element type.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
-
hasElemType
public boolean hasElemType()The element type.
.google.api.expr.v1alpha1.Type elem_type = 1 [json_name = "elemType"];
- Specified by:
hasElemType
in interfaceType.ListTypeOrBuilder
- Returns:
- Whether the elemType field is set.
-
getElemType
The element type.
.google.api.expr.v1alpha1.Type elem_type = 1 [json_name = "elemType"];
- Specified by:
getElemType
in interfaceType.ListTypeOrBuilder
- Returns:
- The elemType.
-
setElemType
The element type.
.google.api.expr.v1alpha1.Type elem_type = 1 [json_name = "elemType"];
-
setElemType
The element type.
.google.api.expr.v1alpha1.Type elem_type = 1 [json_name = "elemType"];
-
mergeElemType
The element type.
.google.api.expr.v1alpha1.Type elem_type = 1 [json_name = "elemType"];
-
clearElemType
The element type.
.google.api.expr.v1alpha1.Type elem_type = 1 [json_name = "elemType"];
-