- 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.37.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.24.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.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class ListDatacenterConnectorsResponse.Builder extends GeneratedMessageV3.Builder<ListDatacenterConnectorsResponse.Builder> implements ListDatacenterConnectorsResponseOrBuilder
Response message for 'ListDatacenterConnectors' request.
Protobuf type google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListDatacenterConnectorsResponse.BuilderImplements
ListDatacenterConnectorsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDatacenterConnectors(Iterable<? extends DatacenterConnector> values)
public ListDatacenterConnectorsResponse.Builder addAllDatacenterConnectors(Iterable<? extends DatacenterConnector> values)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.vmmigration.v1.DatacenterConnector> |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListDatacenterConnectorsResponse.Builder addAllUnreachable(Iterable<String> values)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |
addDatacenterConnectors(DatacenterConnector value)
public ListDatacenterConnectorsResponse.Builder addDatacenterConnectors(DatacenterConnector value)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DatacenterConnector |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
addDatacenterConnectors(DatacenterConnector.Builder builderForValue)
public ListDatacenterConnectorsResponse.Builder addDatacenterConnectors(DatacenterConnector.Builder builderForValue)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | DatacenterConnector.Builder |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
addDatacenterConnectors(int index, DatacenterConnector value)
public ListDatacenterConnectorsResponse.Builder addDatacenterConnectors(int index, DatacenterConnector value)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
value | DatacenterConnector |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
addDatacenterConnectors(int index, DatacenterConnector.Builder builderForValue)
public ListDatacenterConnectorsResponse.Builder addDatacenterConnectors(int index, DatacenterConnector.Builder builderForValue)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | DatacenterConnector.Builder |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
addDatacenterConnectorsBuilder()
public DatacenterConnector.Builder addDatacenterConnectorsBuilder()
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
addDatacenterConnectorsBuilder(int index)
public DatacenterConnector.Builder addDatacenterConnectorsBuilder(int index)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatacenterConnectorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
addUnreachable(String value)
public ListDatacenterConnectorsResponse.Builder addUnreachable(String value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListDatacenterConnectorsResponse.Builder addUnreachableBytes(ByteString value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |
build()
public ListDatacenterConnectorsResponse build()
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse |
buildPartial()
public ListDatacenterConnectorsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse |
clear()
public ListDatacenterConnectorsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
clearDatacenterConnectors()
public ListDatacenterConnectorsResponse.Builder clearDatacenterConnectors()
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListDatacenterConnectorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
clearNextPageToken()
public ListDatacenterConnectorsResponse.Builder clearNextPageToken()
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDatacenterConnectorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
clearUnreachable()
public ListDatacenterConnectorsResponse.Builder clearUnreachable()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |
clone()
public ListDatacenterConnectorsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
getDatacenterConnectors(int index)
public DatacenterConnector getDatacenterConnectors(int index)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DatacenterConnector |
getDatacenterConnectorsBuilder(int index)
public DatacenterConnector.Builder getDatacenterConnectorsBuilder(int index)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
getDatacenterConnectorsBuilderList()
public List<DatacenterConnector.Builder> getDatacenterConnectorsBuilderList()
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getDatacenterConnectorsCount()
public int getDatacenterConnectorsCount()
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getDatacenterConnectorsList()
public List<DatacenterConnector> getDatacenterConnectorsList()
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<DatacenterConnector> |
getDatacenterConnectorsOrBuilder(int index)
public DatacenterConnectorOrBuilder getDatacenterConnectorsOrBuilder(int index)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DatacenterConnectorOrBuilder |
getDatacenterConnectorsOrBuilderList()
public List<? extends DatacenterConnectorOrBuilder> getDatacenterConnectorsOrBuilderList()
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> |
getDefaultInstanceForType()
public ListDatacenterConnectorsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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(ListDatacenterConnectorsResponse other)
public ListDatacenterConnectorsResponse.Builder mergeFrom(ListDatacenterConnectorsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListDatacenterConnectorsResponse |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListDatacenterConnectorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListDatacenterConnectorsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatacenterConnectorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
removeDatacenterConnectors(int index)
public ListDatacenterConnectorsResponse.Builder removeDatacenterConnectors(int index)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
setDatacenterConnectors(int index, DatacenterConnector value)
public ListDatacenterConnectorsResponse.Builder setDatacenterConnectors(int index, DatacenterConnector value)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
value | DatacenterConnector |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
setDatacenterConnectors(int index, DatacenterConnector.Builder builderForValue)
public ListDatacenterConnectorsResponse.Builder setDatacenterConnectors(int index, DatacenterConnector.Builder builderForValue)
Output only. The list of sources response.
repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | DatacenterConnector.Builder |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatacenterConnectorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
setNextPageToken(String value)
public ListDatacenterConnectorsResponse.Builder setNextPageToken(String value)
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListDatacenterConnectorsResponse.Builder setNextPageTokenBytes(ByteString value)
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatacenterConnectorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDatacenterConnectorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder |
setUnreachable(int index, String value)
public ListDatacenterConnectorsResponse.Builder setUnreachable(int index, String value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListDatacenterConnectorsResponse.Builder | This builder for chaining. |