public static final class Value.StringSet extends GeneratedMessageV3 implements Value.StringSetOrBuilder
A string set value that can hold a set of strings. The maximum length of
each string is 200 characters and there can be a maximum of 50 strings in
the string set.
Protobuf type google.cloud.resourcesettings.v1.Value.StringSet
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Value.StringSet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Value.StringSet.Builder newBuilder()
newBuilder(Value.StringSet prototype)
public static Value.StringSet.Builder newBuilder(Value.StringSet prototype)
public static Value.StringSet parseDelimitedFrom(InputStream input)
public static Value.StringSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Value.StringSet parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Value.StringSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Value.StringSet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Value.StringSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Value.StringSet parseFrom(CodedInputStream input)
public static Value.StringSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Value.StringSet parseFrom(InputStream input)
public static Value.StringSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Value.StringSet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Value.StringSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Value.StringSet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Value.StringSet getDefaultInstanceForType()
getParserForType()
public Parser<Value.StringSet> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getValues(int index)
public String getValues(int index)
The strings in the set
repeated string values = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The values at the given index.
|
getValuesBytes(int index)
public ByteString getValuesBytes(int index)
The strings in the set
repeated string values = 1;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the values at the given index.
|
getValuesCount()
public int getValuesCount()
The strings in the set
repeated string values = 1;
Returns |
---|
Type | Description |
int | The count of values.
|
getValuesList()
public ProtocolStringList getValuesList()
The strings in the set
repeated string values = 1;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Value.StringSet.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Value.StringSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Value.StringSet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides