Class ListWasmPluginVersionsResponse.Builder (0.23.0)

public static final class ListWasmPluginVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListWasmPluginVersionsResponse.Builder> implements ListWasmPluginVersionsResponseOrBuilder

Response returned by the ListWasmPluginVersions method.

Protobuf type google.cloud.networkservices.v1.ListWasmPluginVersionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

public ListWasmPluginVersionsResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

addAllWasmPluginVersions(Iterable<? extends WasmPluginVersion> values)

public ListWasmPluginVersionsResponse.Builder addAllWasmPluginVersions(Iterable<? extends WasmPluginVersion> values)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkservices.v1.WasmPluginVersion>
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWasmPluginVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

addUnreachable(String value)

public ListWasmPluginVersionsResponse.Builder addUnreachable(String value)

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListWasmPluginVersionsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

addWasmPluginVersions(WasmPluginVersion value)

public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(WasmPluginVersion value)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
value WasmPluginVersion
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

addWasmPluginVersions(WasmPluginVersion.Builder builderForValue)

public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(WasmPluginVersion.Builder builderForValue)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
builderForValue WasmPluginVersion.Builder
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

addWasmPluginVersions(int index, WasmPluginVersion value)

public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(int index, WasmPluginVersion value)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameters
Name Description
index int
value WasmPluginVersion
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

addWasmPluginVersions(int index, WasmPluginVersion.Builder builderForValue)

public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(int index, WasmPluginVersion.Builder builderForValue)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameters
Name Description
index int
builderForValue WasmPluginVersion.Builder
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

addWasmPluginVersionsBuilder()

public WasmPluginVersion.Builder addWasmPluginVersionsBuilder()

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Returns
Type Description
WasmPluginVersion.Builder

addWasmPluginVersionsBuilder(int index)

public WasmPluginVersion.Builder addWasmPluginVersionsBuilder(int index)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPluginVersion.Builder

build()

public ListWasmPluginVersionsResponse build()
Returns
Type Description
ListWasmPluginVersionsResponse

buildPartial()

public ListWasmPluginVersionsResponse buildPartial()
Returns
Type Description
ListWasmPluginVersionsResponse

clear()

public ListWasmPluginVersionsResponse.Builder clear()
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListWasmPluginVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

clearNextPageToken()

public ListWasmPluginVersionsResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWasmPluginVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

clearUnreachable()

public ListWasmPluginVersionsResponse.Builder clearUnreachable()

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

clearWasmPluginVersions()

public ListWasmPluginVersionsResponse.Builder clearWasmPluginVersions()

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

clone()

public ListWasmPluginVersionsResponse.Builder clone()
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListWasmPluginVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListWasmPluginVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getWasmPluginVersions(int index)

public WasmPluginVersion getWasmPluginVersions(int index)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPluginVersion

getWasmPluginVersionsBuilder(int index)

public WasmPluginVersion.Builder getWasmPluginVersionsBuilder(int index)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPluginVersion.Builder

getWasmPluginVersionsBuilderList()

public List<WasmPluginVersion.Builder> getWasmPluginVersionsBuilderList()

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Returns
Type Description
List<Builder>

getWasmPluginVersionsCount()

public int getWasmPluginVersionsCount()

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Returns
Type Description
int

getWasmPluginVersionsList()

public List<WasmPluginVersion> getWasmPluginVersionsList()

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Returns
Type Description
List<WasmPluginVersion>

getWasmPluginVersionsOrBuilder(int index)

public WasmPluginVersionOrBuilder getWasmPluginVersionsOrBuilder(int index)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPluginVersionOrBuilder

getWasmPluginVersionsOrBuilderList()

public List<? extends WasmPluginVersionOrBuilder> getWasmPluginVersionsOrBuilderList()

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Returns
Type Description
List<? extends com.google.cloud.networkservices.v1.WasmPluginVersionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWasmPluginVersionsResponse other)

public ListWasmPluginVersionsResponse.Builder mergeFrom(ListWasmPluginVersionsResponse other)
Parameter
Name Description
other ListWasmPluginVersionsResponse
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListWasmPluginVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListWasmPluginVersionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWasmPluginVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

removeWasmPluginVersions(int index)

public ListWasmPluginVersionsResponse.Builder removeWasmPluginVersions(int index)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListWasmPluginVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

setNextPageToken(String value)

public ListWasmPluginVersionsResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWasmPluginVersionsResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListWasmPluginVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWasmPluginVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListWasmPluginVersionsResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListWasmPluginVersionsResponse.Builder setUnreachable(int index, String value)

Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListWasmPluginVersionsResponse.Builder

This builder for chaining.

setWasmPluginVersions(int index, WasmPluginVersion value)

public ListWasmPluginVersionsResponse.Builder setWasmPluginVersions(int index, WasmPluginVersion value)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameters
Name Description
index int
value WasmPluginVersion
Returns
Type Description
ListWasmPluginVersionsResponse.Builder

setWasmPluginVersions(int index, WasmPluginVersion.Builder builderForValue)

public ListWasmPluginVersionsResponse.Builder setWasmPluginVersions(int index, WasmPluginVersion.Builder builderForValue)

List of WasmPluginVersion resources.

repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;

Parameters
Name Description
index int
builderForValue WasmPluginVersion.Builder
Returns
Type Description
ListWasmPluginVersionsResponse.Builder