Class ListWasmPluginsResponse.Builder (0.23.0)

public static final class ListWasmPluginsResponse.Builder extends GeneratedMessageV3.Builder<ListWasmPluginsResponse.Builder> implements ListWasmPluginsResponseOrBuilder

Response returned by the ListWasmPlugins method.

Protobuf type google.cloud.networkservices.v1.ListWasmPluginsResponse

Static Methods

getDescriptor()

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

Methods

addAllUnreachable(Iterable<String> values)

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

addAllWasmPlugins(Iterable<? extends WasmPlugin> values)

public ListWasmPluginsResponse.Builder addAllWasmPlugins(Iterable<? extends WasmPlugin> values)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

addWasmPlugins(WasmPlugin value)

public ListWasmPluginsResponse.Builder addWasmPlugins(WasmPlugin value)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameter
Name Description
value WasmPlugin
Returns
Type Description
ListWasmPluginsResponse.Builder

addWasmPlugins(WasmPlugin.Builder builderForValue)

public ListWasmPluginsResponse.Builder addWasmPlugins(WasmPlugin.Builder builderForValue)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameter
Name Description
builderForValue WasmPlugin.Builder
Returns
Type Description
ListWasmPluginsResponse.Builder

addWasmPlugins(int index, WasmPlugin value)

public ListWasmPluginsResponse.Builder addWasmPlugins(int index, WasmPlugin value)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameters
Name Description
index int
value WasmPlugin
Returns
Type Description
ListWasmPluginsResponse.Builder

addWasmPlugins(int index, WasmPlugin.Builder builderForValue)

public ListWasmPluginsResponse.Builder addWasmPlugins(int index, WasmPlugin.Builder builderForValue)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameters
Name Description
index int
builderForValue WasmPlugin.Builder
Returns
Type Description
ListWasmPluginsResponse.Builder

addWasmPluginsBuilder()

public WasmPlugin.Builder addWasmPluginsBuilder()

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Returns
Type Description
WasmPlugin.Builder

addWasmPluginsBuilder(int index)

public WasmPlugin.Builder addWasmPluginsBuilder(int index)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPlugin.Builder

build()

public ListWasmPluginsResponse build()
Returns
Type Description
ListWasmPluginsResponse

buildPartial()

public ListWasmPluginsResponse buildPartial()
Returns
Type Description
ListWasmPluginsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

clearWasmPlugins()

public ListWasmPluginsResponse.Builder clearWasmPlugins()

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Returns
Type Description
ListWasmPluginsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWasmPluginsResponse getDefaultInstanceForType()
Returns
Type Description
ListWasmPluginsResponse

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.

getWasmPlugins(int index)

public WasmPlugin getWasmPlugins(int index)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPlugin

getWasmPluginsBuilder(int index)

public WasmPlugin.Builder getWasmPluginsBuilder(int index)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPlugin.Builder

getWasmPluginsBuilderList()

public List<WasmPlugin.Builder> getWasmPluginsBuilderList()

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Returns
Type Description
List<Builder>

getWasmPluginsCount()

public int getWasmPluginsCount()

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Returns
Type Description
int

getWasmPluginsList()

public List<WasmPlugin> getWasmPluginsList()

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Returns
Type Description
List<WasmPlugin>

getWasmPluginsOrBuilder(int index)

public WasmPluginOrBuilder getWasmPluginsOrBuilder(int index)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameter
Name Description
index int
Returns
Type Description
WasmPluginOrBuilder

getWasmPluginsOrBuilderList()

public List<? extends WasmPluginOrBuilder> getWasmPluginsOrBuilderList()

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWasmPluginsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWasmPlugins(int index)

public ListWasmPluginsResponse.Builder removeWasmPlugins(int index)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWasmPluginsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListWasmPluginsResponse.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
ListWasmPluginsResponse.Builder

This builder for chaining.

setWasmPlugins(int index, WasmPlugin value)

public ListWasmPluginsResponse.Builder setWasmPlugins(int index, WasmPlugin value)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameters
Name Description
index int
value WasmPlugin
Returns
Type Description
ListWasmPluginsResponse.Builder

setWasmPlugins(int index, WasmPlugin.Builder builderForValue)

public ListWasmPluginsResponse.Builder setWasmPlugins(int index, WasmPlugin.Builder builderForValue)

List of WasmPlugin resources.

repeated .google.cloud.networkservices.v1.WasmPlugin wasm_plugins = 1;

Parameters
Name Description
index int
builderForValue WasmPlugin.Builder
Returns
Type Description
ListWasmPluginsResponse.Builder