Class ListLbRouteExtensionsResponse.Builder (0.10.0)

public static final class ListLbRouteExtensionsResponse.Builder extends GeneratedMessageV3.Builder<ListLbRouteExtensionsResponse.Builder> implements ListLbRouteExtensionsResponseOrBuilder

Message for response to listing LbRouteExtension resources.

Protobuf type google.cloud.networkservices.v1.ListLbRouteExtensionsResponse

Static Methods

getDescriptor()

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

Methods

addAllLbRouteExtensions(Iterable<? extends LbRouteExtension> values)

public ListLbRouteExtensionsResponse.Builder addAllLbRouteExtensions(Iterable<? extends LbRouteExtension> values)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

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

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

This builder for chaining.

addLbRouteExtensions(LbRouteExtension value)

public ListLbRouteExtensionsResponse.Builder addLbRouteExtensions(LbRouteExtension value)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameter
Name Description
value LbRouteExtension
Returns
Type Description
ListLbRouteExtensionsResponse.Builder

addLbRouteExtensions(LbRouteExtension.Builder builderForValue)

public ListLbRouteExtensionsResponse.Builder addLbRouteExtensions(LbRouteExtension.Builder builderForValue)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameter
Name Description
builderForValue LbRouteExtension.Builder
Returns
Type Description
ListLbRouteExtensionsResponse.Builder

addLbRouteExtensions(int index, LbRouteExtension value)

public ListLbRouteExtensionsResponse.Builder addLbRouteExtensions(int index, LbRouteExtension value)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameters
Name Description
index int
value LbRouteExtension
Returns
Type Description
ListLbRouteExtensionsResponse.Builder

addLbRouteExtensions(int index, LbRouteExtension.Builder builderForValue)

public ListLbRouteExtensionsResponse.Builder addLbRouteExtensions(int index, LbRouteExtension.Builder builderForValue)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameters
Name Description
index int
builderForValue LbRouteExtension.Builder
Returns
Type Description
ListLbRouteExtensionsResponse.Builder

addLbRouteExtensionsBuilder()

public LbRouteExtension.Builder addLbRouteExtensionsBuilder()

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Returns
Type Description
LbRouteExtension.Builder

addLbRouteExtensionsBuilder(int index)

public LbRouteExtension.Builder addLbRouteExtensionsBuilder(int index)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbRouteExtension.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListLbRouteExtensionsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListLbRouteExtensionsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

This builder for chaining.

build()

public ListLbRouteExtensionsResponse build()
Returns
Type Description
ListLbRouteExtensionsResponse

buildPartial()

public ListLbRouteExtensionsResponse buildPartial()
Returns
Type Description
ListLbRouteExtensionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLbRouteExtensions()

public ListLbRouteExtensionsResponse.Builder clearLbRouteExtensions()

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

clearNextPageToken()

public ListLbRouteExtensionsResponse.Builder clearNextPageToken()

A token identifying a page of results that the server returns.

string next_page_token = 2;

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListLbRouteExtensionsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListLbRouteExtensionsResponse getDefaultInstanceForType()
Returns
Type Description
ListLbRouteExtensionsResponse

getDescriptorForType()

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

getLbRouteExtensions(int index)

public LbRouteExtension getLbRouteExtensions(int index)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbRouteExtension

getLbRouteExtensionsBuilder(int index)

public LbRouteExtension.Builder getLbRouteExtensionsBuilder(int index)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbRouteExtension.Builder

getLbRouteExtensionsBuilderList()

public List<LbRouteExtension.Builder> getLbRouteExtensionsBuilderList()

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Returns
Type Description
List<Builder>

getLbRouteExtensionsCount()

public int getLbRouteExtensionsCount()

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Returns
Type Description
int

getLbRouteExtensionsList()

public List<LbRouteExtension> getLbRouteExtensionsList()

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Returns
Type Description
List<LbRouteExtension>

getLbRouteExtensionsOrBuilder(int index)

public LbRouteExtensionOrBuilder getLbRouteExtensionsOrBuilder(int index)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbRouteExtensionOrBuilder

getLbRouteExtensionsOrBuilderList()

public List<? extends LbRouteExtensionOrBuilder> getLbRouteExtensionsOrBuilderList()

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results that the server returns.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results that the server returns.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

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)

Locations that could not be reached.

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()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListLbRouteExtensionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeLbRouteExtensions(int index)

public ListLbRouteExtensionsResponse.Builder removeLbRouteExtensions(int index)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListLbRouteExtensionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLbRouteExtensions(int index, LbRouteExtension value)

public ListLbRouteExtensionsResponse.Builder setLbRouteExtensions(int index, LbRouteExtension value)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameters
Name Description
index int
value LbRouteExtension
Returns
Type Description
ListLbRouteExtensionsResponse.Builder

setLbRouteExtensions(int index, LbRouteExtension.Builder builderForValue)

public ListLbRouteExtensionsResponse.Builder setLbRouteExtensions(int index, LbRouteExtension.Builder builderForValue)

The list of LbRouteExtension resources.

repeated .google.cloud.networkservices.v1.LbRouteExtension lb_route_extensions = 1;

Parameters
Name Description
index int
builderForValue LbRouteExtension.Builder
Returns
Type Description
ListLbRouteExtensionsResponse.Builder

setNextPageToken(String value)

public ListLbRouteExtensionsResponse.Builder setNextPageToken(String value)

A token identifying a page of results that the server returns.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListLbRouteExtensionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results that the server returns.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListLbRouteExtensionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations that could not be reached.

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
ListLbRouteExtensionsResponse.Builder

This builder for chaining.