Package proto.rpc.webrtc.v1
Class Grpc.Strings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.Strings,Grpc.Strings.Builder>
proto.rpc.webrtc.v1.Grpc.Strings.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Grpc.StringsOrBuilder
- Enclosing class:
- Grpc.Strings
public static final class Grpc.Strings.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.Strings,Grpc.Strings.Builder>
implements Grpc.StringsOrBuilder
Strings are a series of values.Protobuf type
proto.rpc.webrtc.v1.Strings
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllValues
(Iterable<String> values) repeated string values = 1 [json_name = "values"];
repeated string values = 1 [json_name = "values"];
addValuesBytes
(com.google.protobuf.ByteString value) repeated string values = 1 [json_name = "values"];
repeated string values = 1 [json_name = "values"];
getValues
(int index) repeated string values = 1 [json_name = "values"];
com.google.protobuf.ByteString
getValuesBytes
(int index) repeated string values = 1 [json_name = "values"];
int
repeated string values = 1 [json_name = "values"];
repeated string values = 1 [json_name = "values"];
repeated string values = 1 [json_name = "values"];
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
repeated string values = 1 [json_name = "values"];
- Specified by:
getValuesList
in interfaceGrpc.StringsOrBuilder
- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()repeated string values = 1 [json_name = "values"];
- Specified by:
getValuesCount
in interfaceGrpc.StringsOrBuilder
- Returns:
- The count of values.
-
getValues
repeated string values = 1 [json_name = "values"];
- Specified by:
getValues
in interfaceGrpc.StringsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The values at the given index.
-
getValuesBytes
public com.google.protobuf.ByteString getValuesBytes(int index) repeated string values = 1 [json_name = "values"];
- Specified by:
getValuesBytes
in interfaceGrpc.StringsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
setValues
repeated string values = 1 [json_name = "values"];
- Parameters:
index
- The index to set the value at.value
- The values to set.- Returns:
- This builder for chaining.
-
addValues
repeated string values = 1 [json_name = "values"];
- Parameters:
value
- The values to add.- Returns:
- This builder for chaining.
-
addAllValues
repeated string values = 1 [json_name = "values"];
- Parameters:
values
- The values to add.- Returns:
- This builder for chaining.
-
clearValues
repeated string values = 1 [json_name = "values"];
- Returns:
- This builder for chaining.
-
addValuesBytes
repeated string values = 1 [json_name = "values"];
- Parameters:
value
- The bytes of the values to add.- Returns:
- This builder for chaining.
-