- 1.47.0 (latest)
- 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.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class ListRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListRoutesResponse.Builder> implements ListRoutesResponseOrBuilder
Route list response.
Protobuf type google.cloud.datastream.v1.ListRoutesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListRoutesResponse.BuilderImplements
ListRoutesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRoutes(Iterable<? extends Route> values)
public ListRoutesResponse.Builder addAllRoutes(Iterable<? extends Route> values)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.datastream.v1.Route> |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListRoutesResponse.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 |
ListRoutesResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRoutesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
addRoutes(Route value)
public ListRoutesResponse.Builder addRoutes(Route value)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
value | Route |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
addRoutes(Route.Builder builderForValue)
public ListRoutesResponse.Builder addRoutes(Route.Builder builderForValue)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Route.Builder |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
addRoutes(int index, Route value)
public ListRoutesResponse.Builder addRoutes(int index, Route value)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Route |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
addRoutes(int index, Route.Builder builderForValue)
public ListRoutesResponse.Builder addRoutes(int index, Route.Builder builderForValue)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Route.Builder |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
addRoutesBuilder()
public Route.Builder addRoutesBuilder()
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Returns | |
---|---|
Type | Description |
Route.Builder |
addRoutesBuilder(int index)
public Route.Builder addRoutesBuilder(int index)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Route.Builder |
addUnreachable(String value)
public ListRoutesResponse.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 |
ListRoutesResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListRoutesResponse.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 |
ListRoutesResponse.Builder | This builder for chaining. |
build()
public ListRoutesResponse build()
Returns | |
---|---|
Type | Description |
ListRoutesResponse |
buildPartial()
public ListRoutesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListRoutesResponse |
clear()
public ListRoutesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListRoutesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
clearNextPageToken()
public ListRoutesResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRoutesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
clearRoutes()
public ListRoutesResponse.Builder clearRoutes()
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
clearUnreachable()
public ListRoutesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder | This builder for chaining. |
clone()
public ListRoutesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
getDefaultInstanceForType()
public ListRoutesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListRoutesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for nextPageToken. |
getRoutes(int index)
public Route getRoutes(int index)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Route |
getRoutesBuilder(int index)
public Route.Builder getRoutesBuilder(int index)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Route.Builder |
getRoutesBuilderList()
public List<Route.Builder> getRoutesBuilderList()
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getRoutesCount()
public int getRoutesCount()
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Returns | |
---|---|
Type | Description |
int |
getRoutesList()
public List<Route> getRoutesList()
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Returns | |
---|---|
Type | Description |
List<Route> |
getRoutesOrBuilder(int index)
public RouteOrBuilder getRoutesOrBuilder(int index)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RouteOrBuilder |
getRoutesOrBuilderList()
public List<? extends RouteOrBuilder> getRoutesOrBuilderList()
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.datastream.v1.RouteOrBuilder> |
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(ListRoutesResponse other)
public ListRoutesResponse.Builder mergeFrom(ListRoutesResponse other)
Parameter | |
---|---|
Name | Description |
other | ListRoutesResponse |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRoutesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListRoutesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRoutesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
removeRoutes(int index)
public ListRoutesResponse.Builder removeRoutes(int index)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListRoutesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
setNextPageToken(String value)
public ListRoutesResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListRoutesResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRoutesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
setRoutes(int index, Route value)
public ListRoutesResponse.Builder setRoutes(int index, Route value)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Route |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
setRoutes(int index, Route.Builder builderForValue)
public ListRoutesResponse.Builder setRoutes(int index, Route.Builder builderForValue)
List of Routes.
repeated .google.cloud.datastream.v1.Route routes = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Route.Builder |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRoutesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListRoutesResponse.Builder |
setUnreachable(int index, String value)
public ListRoutesResponse.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 |
ListRoutesResponse.Builder | This builder for chaining. |