public static final class StringArray.Builder extends com.google.protobuf.GeneratedMessage.Builder<StringArray.Builder> implements StringArrayOrBuilder
A list of string values.Protobuf type
google.cloud.aiplatform.v1.StringArray| Modifier and Type | Method and Description |
|---|---|
StringArray.Builder |
addAllValues(Iterable<String> values)
A list of string values.
|
StringArray.Builder |
addValues(String value)
A list of string values.
|
StringArray.Builder |
addValuesBytes(com.google.protobuf.ByteString value)
A list of string values.
|
StringArray |
build() |
StringArray |
buildPartial() |
StringArray.Builder |
clear() |
StringArray.Builder |
clearValues()
A list of string values.
|
StringArray |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getValues(int index)
A list of string values.
|
com.google.protobuf.ByteString |
getValuesBytes(int index)
A list of string values.
|
int |
getValuesCount()
A list of string values.
|
com.google.protobuf.ProtocolStringList |
getValuesList()
A list of string values.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StringArray.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StringArray.Builder |
mergeFrom(com.google.protobuf.Message other) |
StringArray.Builder |
mergeFrom(StringArray other) |
StringArray.Builder |
setValues(int index,
String value)
A list of string values.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StringArray.Builder>public StringArray.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<StringArray.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StringArray.Builder>public StringArray getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StringArray build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StringArray buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StringArray.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StringArray.Builder>public StringArray.Builder mergeFrom(StringArray other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<StringArray.Builder>public StringArray.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StringArray.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getValuesList()
A list of string values.
repeated string values = 1;getValuesList in interface StringArrayOrBuilderpublic int getValuesCount()
A list of string values.
repeated string values = 1;getValuesCount in interface StringArrayOrBuilderpublic String getValues(int index)
A list of string values.
repeated string values = 1;getValues in interface StringArrayOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getValuesBytes(int index)
A list of string values.
repeated string values = 1;getValuesBytes in interface StringArrayOrBuilderindex - The index of the value to return.public StringArray.Builder setValues(int index, String value)
A list of string values.
repeated string values = 1;index - The index to set the value at.value - The values to set.public StringArray.Builder addValues(String value)
A list of string values.
repeated string values = 1;value - The values to add.public StringArray.Builder addAllValues(Iterable<String> values)
A list of string values.
repeated string values = 1;values - The values to add.public StringArray.Builder clearValues()
A list of string values.
repeated string values = 1;public StringArray.Builder addValuesBytes(com.google.protobuf.ByteString value)
A list of string values.
repeated string values = 1;value - The bytes of the values to add.Copyright © 2026 Google LLC. All rights reserved.