Package com.google.cloud.clouddms.v1
Class ListConnectionProfilesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
- com.google.cloud.clouddms.v1.ListConnectionProfilesResponse.Builder
-
- All Implemented Interfaces:
ListConnectionProfilesResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListConnectionProfilesResponse
public static final class ListConnectionProfilesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder> implements ListConnectionProfilesResponseOrBuilder
Response message for 'ListConnectionProfiles' request.
Protobuf typegoogle.cloud.clouddms.v1.ListConnectionProfilesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListConnectionProfilesResponse.Builder
addAllConnectionProfiles(Iterable<? extends ConnectionProfile> values)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListConnectionProfilesResponse.Builder
addConnectionProfiles(int index, ConnectionProfile value)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
addConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
addConnectionProfiles(ConnectionProfile value)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
addConnectionProfiles(ConnectionProfile.Builder builderForValue)
The response list of connection profiles.ConnectionProfile.Builder
addConnectionProfilesBuilder()
The response list of connection profiles.ConnectionProfile.Builder
addConnectionProfilesBuilder(int index)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListConnectionProfilesResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListConnectionProfilesResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListConnectionProfilesResponse
build()
ListConnectionProfilesResponse
buildPartial()
ListConnectionProfilesResponse.Builder
clear()
ListConnectionProfilesResponse.Builder
clearConnectionProfiles()
The response list of connection profiles.ListConnectionProfilesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListConnectionProfilesResponse.Builder
clearNextPageToken()
A token which can be sent as `page_token` to retrieve the next page.ListConnectionProfilesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListConnectionProfilesResponse.Builder
clearUnreachable()
Locations that could not be reached.ListConnectionProfilesResponse.Builder
clone()
ConnectionProfile
getConnectionProfiles(int index)
The response list of connection profiles.ConnectionProfile.Builder
getConnectionProfilesBuilder(int index)
The response list of connection profiles.List<ConnectionProfile.Builder>
getConnectionProfilesBuilderList()
The response list of connection profiles.int
getConnectionProfilesCount()
The response list of connection profiles.List<ConnectionProfile>
getConnectionProfilesList()
The response list of connection profiles.ConnectionProfileOrBuilder
getConnectionProfilesOrBuilder(int index)
The response list of connection profiles.List<? extends ConnectionProfileOrBuilder>
getConnectionProfilesOrBuilderList()
The response list of connection profiles.ListConnectionProfilesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token which can be sent as `page_token` to retrieve the next page.String
getUnreachable(int index)
Locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached.int
getUnreachableCount()
Locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListConnectionProfilesResponse.Builder
mergeFrom(ListConnectionProfilesResponse other)
ListConnectionProfilesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListConnectionProfilesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListConnectionProfilesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListConnectionProfilesResponse.Builder
removeConnectionProfiles(int index)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
setConnectionProfiles(int index, ConnectionProfile value)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
setConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)
The response list of connection profiles.ListConnectionProfilesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListConnectionProfilesResponse.Builder
setNextPageToken(String value)
A token which can be sent as `page_token` to retrieve the next page.ListConnectionProfilesResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token which can be sent as `page_token` to retrieve the next page.ListConnectionProfilesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListConnectionProfilesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListConnectionProfilesResponse.Builder
setUnreachable(int index, String value)
Locations that could not be reached.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
clear
public ListConnectionProfilesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
getDefaultInstanceForType
public ListConnectionProfilesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListConnectionProfilesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListConnectionProfilesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListConnectionProfilesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
setField
public ListConnectionProfilesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
clearField
public ListConnectionProfilesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
clearOneof
public ListConnectionProfilesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
setRepeatedField
public ListConnectionProfilesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
addRepeatedField
public ListConnectionProfilesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
mergeFrom
public ListConnectionProfilesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListConnectionProfilesResponse.Builder>
-
mergeFrom
public ListConnectionProfilesResponse.Builder mergeFrom(ListConnectionProfilesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
mergeFrom
public ListConnectionProfilesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListConnectionProfilesResponse.Builder>
- Throws:
IOException
-
getConnectionProfilesList
public List<ConnectionProfile> getConnectionProfilesList()
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
- Specified by:
getConnectionProfilesList
in interfaceListConnectionProfilesResponseOrBuilder
-
getConnectionProfilesCount
public int getConnectionProfilesCount()
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
- Specified by:
getConnectionProfilesCount
in interfaceListConnectionProfilesResponseOrBuilder
-
getConnectionProfiles
public ConnectionProfile getConnectionProfiles(int index)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
- Specified by:
getConnectionProfiles
in interfaceListConnectionProfilesResponseOrBuilder
-
setConnectionProfiles
public ListConnectionProfilesResponse.Builder setConnectionProfiles(int index, ConnectionProfile value)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
setConnectionProfiles
public ListConnectionProfilesResponse.Builder setConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
addConnectionProfiles
public ListConnectionProfilesResponse.Builder addConnectionProfiles(ConnectionProfile value)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
addConnectionProfiles
public ListConnectionProfilesResponse.Builder addConnectionProfiles(int index, ConnectionProfile value)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
addConnectionProfiles
public ListConnectionProfilesResponse.Builder addConnectionProfiles(ConnectionProfile.Builder builderForValue)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
addConnectionProfiles
public ListConnectionProfilesResponse.Builder addConnectionProfiles(int index, ConnectionProfile.Builder builderForValue)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
addAllConnectionProfiles
public ListConnectionProfilesResponse.Builder addAllConnectionProfiles(Iterable<? extends ConnectionProfile> values)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
clearConnectionProfiles
public ListConnectionProfilesResponse.Builder clearConnectionProfiles()
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
removeConnectionProfiles
public ListConnectionProfilesResponse.Builder removeConnectionProfiles(int index)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
getConnectionProfilesBuilder
public ConnectionProfile.Builder getConnectionProfilesBuilder(int index)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
getConnectionProfilesOrBuilder
public ConnectionProfileOrBuilder getConnectionProfilesOrBuilder(int index)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
- Specified by:
getConnectionProfilesOrBuilder
in interfaceListConnectionProfilesResponseOrBuilder
-
getConnectionProfilesOrBuilderList
public List<? extends ConnectionProfileOrBuilder> getConnectionProfilesOrBuilderList()
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
- Specified by:
getConnectionProfilesOrBuilderList
in interfaceListConnectionProfilesResponseOrBuilder
-
addConnectionProfilesBuilder
public ConnectionProfile.Builder addConnectionProfilesBuilder()
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
addConnectionProfilesBuilder
public ConnectionProfile.Builder addConnectionProfilesBuilder(int index)
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
getConnectionProfilesBuilderList
public List<ConnectionProfile.Builder> getConnectionProfilesBuilderList()
The response list of connection profiles.
repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1;
-
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;
- Specified by:
getNextPageToken
in interfaceListConnectionProfilesResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;
- Specified by:
getNextPageTokenBytes
in interfaceListConnectionProfilesResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListConnectionProfilesResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableList
in interfaceListConnectionProfilesResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListConnectionProfilesResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachable
in interfaceListConnectionProfilesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableBytes
in interfaceListConnectionProfilesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListConnectionProfilesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
index
- The index to set the value at.value
- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListConnectionProfilesResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListConnectionProfilesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListConnectionProfilesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListConnectionProfilesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListConnectionProfilesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
mergeUnknownFields
public final ListConnectionProfilesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListConnectionProfilesResponse.Builder>
-
-