public static final class ListConnectivityTestsResponse.Builder extends GeneratedMessageV3.Builder<ListConnectivityTestsResponse.Builder> implements ListConnectivityTestsResponseOrBuilder
Response for the ListConnectivityTests
method.
Protobuf type google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListConnectivityTestsResponse.BuilderImplements
ListConnectivityTestsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllResources(Iterable<? extends ConnectivityTest> values)
public ListConnectivityTestsResponse.Builder addAllResources(Iterable<? extends ConnectivityTest> values)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.networkmanagement.v1beta1.ConnectivityTest> |
Type | Description |
ListConnectivityTestsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListConnectivityTestsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Name | Description |
values | Iterable<String> The unreachable to add. |
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConnectivityTestsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListConnectivityTestsResponse.Builder |
addResources(ConnectivityTest value)
public ListConnectivityTestsResponse.Builder addResources(ConnectivityTest value)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
value | ConnectivityTest |
Type | Description |
ListConnectivityTestsResponse.Builder |
addResources(ConnectivityTest.Builder builderForValue)
public ListConnectivityTestsResponse.Builder addResources(ConnectivityTest.Builder builderForValue)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
builderForValue | ConnectivityTest.Builder |
Type | Description |
ListConnectivityTestsResponse.Builder |
addResources(int index, ConnectivityTest value)
public ListConnectivityTestsResponse.Builder addResources(int index, ConnectivityTest value)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
value | ConnectivityTest |
Type | Description |
ListConnectivityTestsResponse.Builder |
addResources(int index, ConnectivityTest.Builder builderForValue)
public ListConnectivityTestsResponse.Builder addResources(int index, ConnectivityTest.Builder builderForValue)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
builderForValue | ConnectivityTest.Builder |
Type | Description |
ListConnectivityTestsResponse.Builder |
addResourcesBuilder()
public ConnectivityTest.Builder addResourcesBuilder()
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Type | Description |
ConnectivityTest.Builder |
addResourcesBuilder(int index)
public ConnectivityTest.Builder addResourcesBuilder(int index)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
Type | Description |
ConnectivityTest.Builder |
addUnreachable(String value)
public ListConnectivityTestsResponse.Builder addUnreachable(String value)
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Name | Description |
value | String The unreachable to add. |
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListConnectivityTestsResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |
build()
public ListConnectivityTestsResponse build()
Type | Description |
ListConnectivityTestsResponse |
buildPartial()
public ListConnectivityTestsResponse buildPartial()
Type | Description |
ListConnectivityTestsResponse |
clear()
public ListConnectivityTestsResponse.Builder clear()
Type | Description |
ListConnectivityTestsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListConnectivityTestsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListConnectivityTestsResponse.Builder |
clearNextPageToken()
public ListConnectivityTestsResponse.Builder clearNextPageToken()
Page token to fetch the next set of Connectivity Tests.
string next_page_token = 2;
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConnectivityTestsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListConnectivityTestsResponse.Builder |
clearResources()
public ListConnectivityTestsResponse.Builder clearResources()
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Type | Description |
ListConnectivityTestsResponse.Builder |
clearUnreachable()
public ListConnectivityTestsResponse.Builder clearUnreachable()
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |
clone()
public ListConnectivityTestsResponse.Builder clone()
Type | Description |
ListConnectivityTestsResponse.Builder |
getDefaultInstanceForType()
public ListConnectivityTestsResponse getDefaultInstanceForType()
Type | Description |
ListConnectivityTestsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
Page token to fetch the next set of Connectivity Tests.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Page token to fetch the next set of Connectivity Tests.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getResources(int index)
public ConnectivityTest getResources(int index)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
Type | Description |
ConnectivityTest |
getResourcesBuilder(int index)
public ConnectivityTest.Builder getResourcesBuilder(int index)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
Type | Description |
ConnectivityTest.Builder |
getResourcesBuilderList()
public List<ConnectivityTest.Builder> getResourcesBuilderList()
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Type | Description |
List<Builder> |
getResourcesCount()
public int getResourcesCount()
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Type | Description |
int |
getResourcesList()
public List<ConnectivityTest> getResourcesList()
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Type | Description |
List<ConnectivityTest> |
getResourcesOrBuilder(int index)
public ConnectivityTestOrBuilder getResourcesOrBuilder(int index)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
Type | Description |
ConnectivityTestOrBuilder |
getResourcesOrBuilderList()
public List<? extends ConnectivityTestOrBuilder> getResourcesOrBuilderList()
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Type | Description |
List<? extends com.google.cloud.networkmanagement.v1beta1.ConnectivityTestOrBuilder> |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListConnectivityTestsResponse other)
public ListConnectivityTestsResponse.Builder mergeFrom(ListConnectivityTestsResponse other)
Name | Description |
other | ListConnectivityTestsResponse |
Type | Description |
ListConnectivityTestsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListConnectivityTestsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListConnectivityTestsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListConnectivityTestsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListConnectivityTestsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectivityTestsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListConnectivityTestsResponse.Builder |
removeResources(int index)
public ListConnectivityTestsResponse.Builder removeResources(int index)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
Type | Description |
ListConnectivityTestsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListConnectivityTestsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListConnectivityTestsResponse.Builder |
setNextPageToken(String value)
public ListConnectivityTestsResponse.Builder setNextPageToken(String value)
Page token to fetch the next set of Connectivity Tests.
string next_page_token = 2;
Name | Description |
value | String The nextPageToken to set. |
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListConnectivityTestsResponse.Builder setNextPageTokenBytes(ByteString value)
Page token to fetch the next set of Connectivity Tests.
string next_page_token = 2;
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConnectivityTestsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListConnectivityTestsResponse.Builder |
setResources(int index, ConnectivityTest value)
public ListConnectivityTestsResponse.Builder setResources(int index, ConnectivityTest value)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
value | ConnectivityTest |
Type | Description |
ListConnectivityTestsResponse.Builder |
setResources(int index, ConnectivityTest.Builder builderForValue)
public ListConnectivityTestsResponse.Builder setResources(int index, ConnectivityTest.Builder builderForValue)
List of Connectivity Tests.
repeated .google.cloud.networkmanagement.v1beta1.ConnectivityTest resources = 1;
Name | Description |
index | int |
builderForValue | ConnectivityTest.Builder |
Type | Description |
ListConnectivityTestsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectivityTestsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListConnectivityTestsResponse.Builder |
setUnreachable(int index, String value)
public ListConnectivityTestsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached (when querying all locations with -
).
repeated string unreachable = 3;
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Type | Description |
ListConnectivityTestsResponse.Builder | This builder for chaining. |