Package com.google.api.expr.v1beta1
Class ListValue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ListValue,ListValue.Builder>
com.google.api.expr.v1beta1.ListValue.Builder
- All Implemented Interfaces:
ListValueOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- ListValue
public static final class ListValue.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ListValue,ListValue.Builder>
implements ListValueOrBuilder
A list. Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.Protobuf type
google.api.expr.v1beta1.ListValue
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllValues
(Iterable<? extends Value> values) The ordered values in the list.The ordered values in the list.addValues
(int index, Value.Builder builderForValue) The ordered values in the list.The ordered values in the list.addValues
(Value.Builder builderForValue) The ordered values in the list.The ordered values in the list.getValues
(int index) The ordered values in the list.int
The ordered values in the list.The ordered values in the list.removeValues
(int index) The ordered values in the list.The ordered values in the list.setValues
(int index, Value.Builder builderForValue) The ordered values in the list.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
-
getValuesList
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
- Specified by:
getValuesList
in interfaceListValueOrBuilder
-
getValuesCount
public int getValuesCount()The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
- Specified by:
getValuesCount
in interfaceListValueOrBuilder
-
getValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
- Specified by:
getValues
in interfaceListValueOrBuilder
-
setValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
setValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
addValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
addValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
addValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
addValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
addAllValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
clearValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-
removeValues
The ordered values in the list.
repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
-