Class ListConnectionProfilesResponse.Builder (2.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.clouddms.v1.ConnectionProfile>
Returns
TypeDescription
ListConnectionProfilesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListConnectionProfilesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueConnectionProfile
Returns
TypeDescription
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
NameDescription
builderForValueConnectionProfile.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConnectionProfile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConnectionProfile.Builder
Returns
TypeDescription
ListConnectionProfilesResponse.Builder

addConnectionProfilesBuilder()

public ConnectionProfile.Builder addConnectionProfilesBuilder()

The response list of connection profiles.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConnectionProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListConnectionProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListConnectionProfilesResponse.Builder
Overrides

addUnreachable(String value)

public ListConnectionProfilesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListConnectionProfilesResponse.Builder

This builder for chaining.

build()

public ListConnectionProfilesResponse build()
Returns
TypeDescription
ListConnectionProfilesResponse

buildPartial()

public ListConnectionProfilesResponse buildPartial()
Returns
TypeDescription
ListConnectionProfilesResponse

clear()

public ListConnectionProfilesResponse.Builder clear()
Returns
TypeDescription
ListConnectionProfilesResponse.Builder
Overrides

clearConnectionProfiles()

public ListConnectionProfilesResponse.Builder clearConnectionProfiles()

The response list of connection profiles.

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

Returns
TypeDescription
ListConnectionProfilesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListConnectionProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListConnectionProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListConnectionProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListConnectionProfilesResponse.Builder
Overrides

clearUnreachable()

public ListConnectionProfilesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListConnectionProfilesResponse.Builder

This builder for chaining.

clone()

public ListConnectionProfilesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConnectionProfile.Builder

getConnectionProfilesBuilderList()

public List<ConnectionProfile.Builder> getConnectionProfilesBuilderList()

The response list of connection profiles.

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

Returns
TypeDescription
List<Builder>

getConnectionProfilesCount()

public int getConnectionProfilesCount()

The response list of connection profiles.

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

Returns
TypeDescription
int

getConnectionProfilesList()

public List<ConnectionProfile> getConnectionProfilesList()

The response list of connection profiles.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConnectionProfileOrBuilder

getConnectionProfilesOrBuilderList()

public List<? extends ConnectionProfileOrBuilder> getConnectionProfilesOrBuilderList()

The response list of connection profiles.

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

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

getDefaultInstanceForType()

public ListConnectionProfilesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConnectionProfilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConnectionProfilesResponse other)

public ListConnectionProfilesResponse.Builder mergeFrom(ListConnectionProfilesResponse other)
Parameter
NameDescription
otherListConnectionProfilesResponse
Returns
TypeDescription
ListConnectionProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListConnectionProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConnectionProfilesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListConnectionProfilesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListConnectionProfilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConnectionProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueConnectionProfile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConnectionProfile.Builder
Returns
TypeDescription
ListConnectionProfilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListConnectionProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListConnectionProfilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConnectionProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListConnectionProfilesResponse.Builder

This builder for chaining.