Class ListServiceBindingsResponse.Builder (0.4.0)

public static final class ListServiceBindingsResponse.Builder extends GeneratedMessageV3.Builder<ListServiceBindingsResponse.Builder> implements ListServiceBindingsResponseOrBuilder

Response returned by the ListServiceBindings method.

Protobuf type google.cloud.networkservices.v1.ListServiceBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllServiceBindings(Iterable<? extends ServiceBinding> values)

public ListServiceBindingsResponse.Builder addAllServiceBindings(Iterable<? extends ServiceBinding> values)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServiceBindings(ServiceBinding value)

public ListServiceBindingsResponse.Builder addServiceBindings(ServiceBinding value)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameter
Name Description
value ServiceBinding
Returns
Type Description
ListServiceBindingsResponse.Builder

addServiceBindings(ServiceBinding.Builder builderForValue)

public ListServiceBindingsResponse.Builder addServiceBindings(ServiceBinding.Builder builderForValue)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameter
Name Description
builderForValue ServiceBinding.Builder
Returns
Type Description
ListServiceBindingsResponse.Builder

addServiceBindings(int index, ServiceBinding value)

public ListServiceBindingsResponse.Builder addServiceBindings(int index, ServiceBinding value)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameters
Name Description
index int
value ServiceBinding
Returns
Type Description
ListServiceBindingsResponse.Builder

addServiceBindings(int index, ServiceBinding.Builder builderForValue)

public ListServiceBindingsResponse.Builder addServiceBindings(int index, ServiceBinding.Builder builderForValue)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameters
Name Description
index int
builderForValue ServiceBinding.Builder
Returns
Type Description
ListServiceBindingsResponse.Builder

addServiceBindingsBuilder()

public ServiceBinding.Builder addServiceBindingsBuilder()

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Returns
Type Description
ServiceBinding.Builder

addServiceBindingsBuilder(int index)

public ServiceBinding.Builder addServiceBindingsBuilder(int index)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceBinding.Builder

build()

public ListServiceBindingsResponse build()
Returns
Type Description
ListServiceBindingsResponse

buildPartial()

public ListServiceBindingsResponse buildPartial()
Returns
Type Description
ListServiceBindingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceBindings()

public ListServiceBindingsResponse.Builder clearServiceBindings()

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Returns
Type Description
ListServiceBindingsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServiceBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListServiceBindingsResponse

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.

getServiceBindings(int index)

public ServiceBinding getServiceBindings(int index)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceBinding

getServiceBindingsBuilder(int index)

public ServiceBinding.Builder getServiceBindingsBuilder(int index)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceBinding.Builder

getServiceBindingsBuilderList()

public List<ServiceBinding.Builder> getServiceBindingsBuilderList()

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Returns
Type Description
List<Builder>

getServiceBindingsCount()

public int getServiceBindingsCount()

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Returns
Type Description
int

getServiceBindingsList()

public List<ServiceBinding> getServiceBindingsList()

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Returns
Type Description
List<ServiceBinding>

getServiceBindingsOrBuilder(int index)

public ServiceBindingOrBuilder getServiceBindingsOrBuilder(int index)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceBindingOrBuilder

getServiceBindingsOrBuilderList()

public List<? extends ServiceBindingOrBuilder> getServiceBindingsOrBuilderList()

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServiceBindingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeServiceBindings(int index)

public ListServiceBindingsResponse.Builder removeServiceBindings(int index)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServiceBindingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setServiceBindings(int index, ServiceBinding value)

public ListServiceBindingsResponse.Builder setServiceBindings(int index, ServiceBinding value)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameters
Name Description
index int
value ServiceBinding
Returns
Type Description
ListServiceBindingsResponse.Builder

setServiceBindings(int index, ServiceBinding.Builder builderForValue)

public ListServiceBindingsResponse.Builder setServiceBindings(int index, ServiceBinding.Builder builderForValue)

List of ServiceBinding resources.

repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;

Parameters
Name Description
index int
builderForValue ServiceBinding.Builder
Returns
Type Description
ListServiceBindingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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