Class ListConnectionProfilesResponse.Builder (2.45.0)

public static final class ListConnectionProfilesResponse.Builder extends GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder> implements ListConnectionProfilesResponseOrBuilder

Response message for 'ListConnectionProfiles' request.

Protobuf type google.cloud.clouddms.v1.ListConnectionProfilesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllConnectionProfiles(Iterable<? extends ConnectionProfile> values)

public ListConnectionProfilesResponse.Builder addAllConnectionProfiles(Iterable<? extends ConnectionProfile> values)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.clouddms.v1.ConnectionProfile>
Returns
Type Description
ListConnectionProfilesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListConnectionProfilesResponse.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
ListConnectionProfilesResponse.Builder

This builder for chaining.

addConnectionProfiles(ConnectionProfile value)

public ListConnectionProfilesResponse.Builder addConnectionProfiles(ConnectionProfile value)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
value ConnectionProfile
Returns
Type Description
ListConnectionProfilesResponse.Builder

addConnectionProfiles(ConnectionProfile.Builder builderForValue)

public ListConnectionProfilesResponse.Builder addConnectionProfiles(ConnectionProfile.Builder builderForValue)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
builderForValue ConnectionProfile.Builder
Returns
Type Description
ListConnectionProfilesResponse.Builder

addConnectionProfiles(int index, ConnectionProfile value)

public ListConnectionProfilesResponse.Builder addConnectionProfiles(int index, ConnectionProfile value)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameters
Name Description
index int
value ConnectionProfile
Returns
Type Description
ListConnectionProfilesResponse.Builder

addConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)

public ListConnectionProfilesResponse.Builder addConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameters
Name Description
index int
builderForValue ConnectionProfile.Builder
Returns
Type Description
ListConnectionProfilesResponse.Builder

addConnectionProfilesBuilder()

public ConnectionProfile.Builder addConnectionProfilesBuilder()

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Returns
Type Description
ConnectionProfile.Builder

addConnectionProfilesBuilder(int index)

public ConnectionProfile.Builder addConnectionProfilesBuilder(int index)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListConnectionProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

addUnreachable(String value)

public ListConnectionProfilesResponse.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
ListConnectionProfilesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListConnectionProfilesResponse.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
ListConnectionProfilesResponse.Builder

This builder for chaining.

build()

public ListConnectionProfilesResponse build()
Returns
Type Description
ListConnectionProfilesResponse

buildPartial()

public ListConnectionProfilesResponse buildPartial()
Returns
Type Description
ListConnectionProfilesResponse

clear()

public ListConnectionProfilesResponse.Builder clear()
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

clearConnectionProfiles()

public ListConnectionProfilesResponse.Builder clearConnectionProfiles()

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Returns
Type Description
ListConnectionProfilesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListConnectionProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

clearNextPageToken()

public ListConnectionProfilesResponse.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
ListConnectionProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListConnectionProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

clearUnreachable()

public ListConnectionProfilesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListConnectionProfilesResponse.Builder

This builder for chaining.

clone()

public ListConnectionProfilesResponse.Builder clone()
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

getConnectionProfiles(int index)

public ConnectionProfile getConnectionProfiles(int index)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProfile

getConnectionProfilesBuilder(int index)

public ConnectionProfile.Builder getConnectionProfilesBuilder(int index)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProfile.Builder

getConnectionProfilesBuilderList()

public List<ConnectionProfile.Builder> getConnectionProfilesBuilderList()

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Returns
Type Description
List<Builder>

getConnectionProfilesCount()

public int getConnectionProfilesCount()

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Returns
Type Description
int

getConnectionProfilesList()

public List<ConnectionProfile> getConnectionProfilesList()

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Returns
Type Description
List<ConnectionProfile>

getConnectionProfilesOrBuilder(int index)

public ConnectionProfileOrBuilder getConnectionProfilesOrBuilder(int index)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProfileOrBuilder

getConnectionProfilesOrBuilderList()

public List<? extends ConnectionProfileOrBuilder> getConnectionProfilesOrBuilderList()

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Returns
Type Description
List<? extends com.google.cloud.clouddms.v1.ConnectionProfileOrBuilder>

getDefaultInstanceForType()

public ListConnectionProfilesResponse getDefaultInstanceForType()
Returns
Type Description
ListConnectionProfilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConnectionProfilesResponse other)

public ListConnectionProfilesResponse.Builder mergeFrom(ListConnectionProfilesResponse other)
Parameter
Name Description
other ListConnectionProfilesResponse
Returns
Type Description
ListConnectionProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListConnectionProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListConnectionProfilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConnectionProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

removeConnectionProfiles(int index)

public ListConnectionProfilesResponse.Builder removeConnectionProfiles(int index)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ListConnectionProfilesResponse.Builder

setConnectionProfiles(int index, ConnectionProfile value)

public ListConnectionProfilesResponse.Builder setConnectionProfiles(int index, ConnectionProfile value)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameters
Name Description
index int
value ConnectionProfile
Returns
Type Description
ListConnectionProfilesResponse.Builder

setConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)

public ListConnectionProfilesResponse.Builder setConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)

The response list of connection profiles.

repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;

Parameters
Name Description
index int
builderForValue ConnectionProfile.Builder
Returns
Type Description
ListConnectionProfilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListConnectionProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

setNextPageToken(String value)

public ListConnectionProfilesResponse.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
ListConnectionProfilesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConnectionProfilesResponse.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
ListConnectionProfilesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListConnectionProfilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConnectionProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConnectionProfilesResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListConnectionProfilesResponse.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
ListConnectionProfilesResponse.Builder

This builder for chaining.