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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListServiceBindingsResponse.BuilderImplements
ListServiceBindingsResponseOrBuilderStatic 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 |
addAllUnreachable(Iterable<String> values)
public ListServiceBindingsResponse.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 |
ListServiceBindingsResponse.Builder |
This builder for chaining. |
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 |
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 |
addUnreachable(String value)
public ListServiceBindingsResponse.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 |
ListServiceBindingsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListServiceBindingsResponse.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 |
ListServiceBindingsResponse.Builder |
This builder for chaining. |
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 |
clearField(Descriptors.FieldDescriptor field)
public ListServiceBindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListServiceBindingsResponse.Builder |
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 |
clearServiceBindings()
public ListServiceBindingsResponse.Builder clearServiceBindings()
List of ServiceBinding resources.
repeated .google.cloud.networkservices.v1.ServiceBinding service_bindings = 1;
Returns | |
---|---|
Type | Description |
ListServiceBindingsResponse.Builder |
clearUnreachable()
public ListServiceBindingsResponse.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 |
ListServiceBindingsResponse.Builder |
This builder for chaining. |
clone()
public ListServiceBindingsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListServiceBindingsResponse.Builder |
getDefaultInstanceForType()
public ListServiceBindingsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListServiceBindingsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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> |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListServiceBindingsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListServiceBindingsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceBindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListServiceBindingsResponse.Builder |
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 |
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 |
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 |
setUnreachable(int index, String value)
public ListServiceBindingsResponse.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 |
ListServiceBindingsResponse.Builder |
This builder for chaining. |