- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static final class ListPolicyBasedRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListPolicyBasedRoutesResponse.Builder> implements ListPolicyBasedRoutesResponseOrBuilder
Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.
Protobuf type google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListPolicyBasedRoutesResponse.BuilderImplements
ListPolicyBasedRoutesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPolicyBasedRoutes(Iterable<? extends PolicyBasedRoute> values)
public ListPolicyBasedRoutesResponse.Builder addAllPolicyBasedRoutes(Iterable<? extends PolicyBasedRoute> values)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRoute> |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListPolicyBasedRoutesResponse.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 |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |
addPolicyBasedRoutes(PolicyBasedRoute value)
public ListPolicyBasedRoutesResponse.Builder addPolicyBasedRoutes(PolicyBasedRoute value)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
value |
PolicyBasedRoute |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
addPolicyBasedRoutes(PolicyBasedRoute.Builder builderForValue)
public ListPolicyBasedRoutesResponse.Builder addPolicyBasedRoutes(PolicyBasedRoute.Builder builderForValue)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
PolicyBasedRoute.Builder |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
addPolicyBasedRoutes(int index, PolicyBasedRoute value)
public ListPolicyBasedRoutesResponse.Builder addPolicyBasedRoutes(int index, PolicyBasedRoute value)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PolicyBasedRoute |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
addPolicyBasedRoutes(int index, PolicyBasedRoute.Builder builderForValue)
public ListPolicyBasedRoutesResponse.Builder addPolicyBasedRoutes(int index, PolicyBasedRoute.Builder builderForValue)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PolicyBasedRoute.Builder |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
addPolicyBasedRoutesBuilder()
public PolicyBasedRoute.Builder addPolicyBasedRoutesBuilder()
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.Builder |
addPolicyBasedRoutesBuilder(int index)
public PolicyBasedRoute.Builder addPolicyBasedRoutesBuilder(int index)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPolicyBasedRoutesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
addUnreachable(String value)
public ListPolicyBasedRoutesResponse.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 |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListPolicyBasedRoutesResponse.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 |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |
build()
public ListPolicyBasedRoutesResponse build()
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse |
buildPartial()
public ListPolicyBasedRoutesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse |
clear()
public ListPolicyBasedRoutesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListPolicyBasedRoutesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
clearNextPageToken()
public ListPolicyBasedRoutesResponse.Builder clearNextPageToken()
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPolicyBasedRoutesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
clearPolicyBasedRoutes()
public ListPolicyBasedRoutesResponse.Builder clearPolicyBasedRoutes()
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
clearUnreachable()
public ListPolicyBasedRoutesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |
clone()
public ListPolicyBasedRoutesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
getDefaultInstanceForType()
public ListPolicyBasedRoutesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nextPageToken. |
getPolicyBasedRoutes(int index)
public PolicyBasedRoute getPolicyBasedRoutes(int index)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyBasedRoute |
getPolicyBasedRoutesBuilder(int index)
public PolicyBasedRoute.Builder getPolicyBasedRoutesBuilder(int index)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyBasedRoute.Builder |
getPolicyBasedRoutesBuilderList()
public List<PolicyBasedRoute.Builder> getPolicyBasedRoutesBuilderList()
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPolicyBasedRoutesCount()
public int getPolicyBasedRoutesCount()
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Returns | |
---|---|
Type | Description |
int |
getPolicyBasedRoutesList()
public List<PolicyBasedRoute> getPolicyBasedRoutesList()
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Returns | |
---|---|
Type | Description |
List<PolicyBasedRoute> |
getPolicyBasedRoutesOrBuilder(int index)
public PolicyBasedRouteOrBuilder getPolicyBasedRoutesOrBuilder(int index)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyBasedRouteOrBuilder |
getPolicyBasedRoutesOrBuilderList()
public List<? extends PolicyBasedRouteOrBuilder> getPolicyBasedRoutesOrBuilderList()
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder> |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListPolicyBasedRoutesResponse other)
public ListPolicyBasedRoutesResponse.Builder mergeFrom(ListPolicyBasedRoutesResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListPolicyBasedRoutesResponse |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPolicyBasedRoutesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListPolicyBasedRoutesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPolicyBasedRoutesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
removePolicyBasedRoutes(int index)
public ListPolicyBasedRoutesResponse.Builder removePolicyBasedRoutes(int index)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListPolicyBasedRoutesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
setNextPageToken(String value)
public ListPolicyBasedRoutesResponse.Builder setNextPageToken(String value)
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListPolicyBasedRoutesResponse.Builder setNextPageTokenBytes(ByteString value)
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |
setPolicyBasedRoutes(int index, PolicyBasedRoute value)
public ListPolicyBasedRoutesResponse.Builder setPolicyBasedRoutes(int index, PolicyBasedRoute value)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PolicyBasedRoute |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
setPolicyBasedRoutes(int index, PolicyBasedRoute.Builder builderForValue)
public ListPolicyBasedRoutesResponse.Builder setPolicyBasedRoutes(int index, PolicyBasedRoute.Builder builderForValue)
Policy based routes to be returned.
repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PolicyBasedRoute.Builder |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPolicyBasedRoutesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPolicyBasedRoutesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPolicyBasedRoutesResponse.Builder |
setUnreachable(int index, String value)
public ListPolicyBasedRoutesResponse.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 |
ListPolicyBasedRoutesResponse.Builder |
This builder for chaining. |