Class ListLbTrafficExtensionsResponse.Builder (0.10.0)

public static final class ListLbTrafficExtensionsResponse.Builder extends GeneratedMessageV3.Builder<ListLbTrafficExtensionsResponse.Builder> implements ListLbTrafficExtensionsResponseOrBuilder

Message for response to listing LbTrafficExtension resources.

Protobuf type google.cloud.networkservices.v1.ListLbTrafficExtensionsResponse

Static Methods

getDescriptor()

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

Methods

addAllLbTrafficExtensions(Iterable<? extends LbTrafficExtension> values)

public ListLbTrafficExtensionsResponse.Builder addAllLbTrafficExtensions(Iterable<? extends LbTrafficExtension> values)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addLbTrafficExtensions(LbTrafficExtension value)

public ListLbTrafficExtensionsResponse.Builder addLbTrafficExtensions(LbTrafficExtension value)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameter
Name Description
value LbTrafficExtension
Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

addLbTrafficExtensions(LbTrafficExtension.Builder builderForValue)

public ListLbTrafficExtensionsResponse.Builder addLbTrafficExtensions(LbTrafficExtension.Builder builderForValue)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameter
Name Description
builderForValue LbTrafficExtension.Builder
Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

addLbTrafficExtensions(int index, LbTrafficExtension value)

public ListLbTrafficExtensionsResponse.Builder addLbTrafficExtensions(int index, LbTrafficExtension value)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameters
Name Description
index int
value LbTrafficExtension
Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

addLbTrafficExtensions(int index, LbTrafficExtension.Builder builderForValue)

public ListLbTrafficExtensionsResponse.Builder addLbTrafficExtensions(int index, LbTrafficExtension.Builder builderForValue)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameters
Name Description
index int
builderForValue LbTrafficExtension.Builder
Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

addLbTrafficExtensionsBuilder()

public LbTrafficExtension.Builder addLbTrafficExtensionsBuilder()

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Returns
Type Description
LbTrafficExtension.Builder

addLbTrafficExtensionsBuilder(int index)

public LbTrafficExtension.Builder addLbTrafficExtensionsBuilder(int index)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbTrafficExtension.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListLbTrafficExtensionsResponse build()
Returns
Type Description
ListLbTrafficExtensionsResponse

buildPartial()

public ListLbTrafficExtensionsResponse buildPartial()
Returns
Type Description
ListLbTrafficExtensionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLbTrafficExtensions()

public ListLbTrafficExtensionsResponse.Builder clearLbTrafficExtensions()

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

clearNextPageToken()

public ListLbTrafficExtensionsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListLbTrafficExtensionsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListLbTrafficExtensionsResponse getDefaultInstanceForType()
Returns
Type Description
ListLbTrafficExtensionsResponse

getDescriptorForType()

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

getLbTrafficExtensions(int index)

public LbTrafficExtension getLbTrafficExtensions(int index)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbTrafficExtension

getLbTrafficExtensionsBuilder(int index)

public LbTrafficExtension.Builder getLbTrafficExtensionsBuilder(int index)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbTrafficExtension.Builder

getLbTrafficExtensionsBuilderList()

public List<LbTrafficExtension.Builder> getLbTrafficExtensionsBuilderList()

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Returns
Type Description
List<Builder>

getLbTrafficExtensionsCount()

public int getLbTrafficExtensionsCount()

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Returns
Type Description
int

getLbTrafficExtensionsList()

public List<LbTrafficExtension> getLbTrafficExtensionsList()

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Returns
Type Description
List<LbTrafficExtension>

getLbTrafficExtensionsOrBuilder(int index)

public LbTrafficExtensionOrBuilder getLbTrafficExtensionsOrBuilder(int index)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
LbTrafficExtensionOrBuilder

getLbTrafficExtensionsOrBuilderList()

public List<? extends LbTrafficExtensionOrBuilder> getLbTrafficExtensionsOrBuilderList()

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeLbTrafficExtensions(int index)

public ListLbTrafficExtensionsResponse.Builder removeLbTrafficExtensions(int index)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLbTrafficExtensions(int index, LbTrafficExtension value)

public ListLbTrafficExtensionsResponse.Builder setLbTrafficExtensions(int index, LbTrafficExtension value)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameters
Name Description
index int
value LbTrafficExtension
Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

setLbTrafficExtensions(int index, LbTrafficExtension.Builder builderForValue)

public ListLbTrafficExtensionsResponse.Builder setLbTrafficExtensions(int index, LbTrafficExtension.Builder builderForValue)

The list of LbTrafficExtension resources.

repeated .google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extensions = 1;

Parameters
Name Description
index int
builderForValue LbTrafficExtension.Builder
Returns
Type Description
ListLbTrafficExtensionsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.