Package com.google.cloud.clouddms.v1
Class ListMigrationJobsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListMigrationJobsResponse.Builder>
-
- com.google.cloud.clouddms.v1.ListMigrationJobsResponse.Builder
-
- All Implemented Interfaces:
ListMigrationJobsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListMigrationJobsResponse
public static final class ListMigrationJobsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListMigrationJobsResponse.Builder> implements ListMigrationJobsResponseOrBuilder
Response message for 'ListMigrationJobs' request.
Protobuf typegoogle.cloud.clouddms.v1.ListMigrationJobsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMigrationJobsResponse.Builder
addAllMigrationJobs(Iterable<? extends MigrationJob> values)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListMigrationJobsResponse.Builder
addMigrationJobs(int index, MigrationJob value)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
addMigrationJobs(int index, MigrationJob.Builder builderForValue)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
addMigrationJobs(MigrationJob value)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
addMigrationJobs(MigrationJob.Builder builderForValue)
The list of migration jobs objects.MigrationJob.Builder
addMigrationJobsBuilder()
The list of migration jobs objects.MigrationJob.Builder
addMigrationJobsBuilder(int index)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListMigrationJobsResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListMigrationJobsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListMigrationJobsResponse
build()
ListMigrationJobsResponse
buildPartial()
ListMigrationJobsResponse.Builder
clear()
ListMigrationJobsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListMigrationJobsResponse.Builder
clearMigrationJobs()
The list of migration jobs objects.ListMigrationJobsResponse.Builder
clearNextPageToken()
A token which can be sent as `page_token` to retrieve the next page.ListMigrationJobsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListMigrationJobsResponse.Builder
clearUnreachable()
Locations that could not be reached.ListMigrationJobsResponse.Builder
clone()
ListMigrationJobsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
MigrationJob
getMigrationJobs(int index)
The list of migration jobs objects.MigrationJob.Builder
getMigrationJobsBuilder(int index)
The list of migration jobs objects.List<MigrationJob.Builder>
getMigrationJobsBuilderList()
The list of migration jobs objects.int
getMigrationJobsCount()
The list of migration jobs objects.List<MigrationJob>
getMigrationJobsList()
The list of migration jobs objects.MigrationJobOrBuilder
getMigrationJobsOrBuilder(int index)
The list of migration jobs objects.List<? extends MigrationJobOrBuilder>
getMigrationJobsOrBuilderList()
The list of migration jobs objects.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()
ListMigrationJobsResponse.Builder
mergeFrom(ListMigrationJobsResponse other)
ListMigrationJobsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListMigrationJobsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListMigrationJobsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListMigrationJobsResponse.Builder
removeMigrationJobs(int index)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListMigrationJobsResponse.Builder
setMigrationJobs(int index, MigrationJob value)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
setMigrationJobs(int index, MigrationJob.Builder builderForValue)
The list of migration jobs objects.ListMigrationJobsResponse.Builder
setNextPageToken(String value)
A token which can be sent as `page_token` to retrieve the next page.ListMigrationJobsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token which can be sent as `page_token` to retrieve the next page.ListMigrationJobsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListMigrationJobsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
clear
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
getDefaultInstanceForType
public ListMigrationJobsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListMigrationJobsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListMigrationJobsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
setField
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
clearField
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
clearOneof
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
setRepeatedField
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
addRepeatedField
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
-
mergeFrom
public ListMigrationJobsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListMigrationJobsResponse.Builder>
-
mergeFrom
public ListMigrationJobsResponse.Builder mergeFrom(ListMigrationJobsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationJobsResponse.Builder>
-
mergeFrom
public ListMigrationJobsResponse.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<ListMigrationJobsResponse.Builder>
- Throws:
IOException
-
getMigrationJobsList
public List<MigrationJob> getMigrationJobsList()
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
- Specified by:
getMigrationJobsList
in interfaceListMigrationJobsResponseOrBuilder
-
getMigrationJobsCount
public int getMigrationJobsCount()
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
- Specified by:
getMigrationJobsCount
in interfaceListMigrationJobsResponseOrBuilder
-
getMigrationJobs
public MigrationJob getMigrationJobs(int index)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
- Specified by:
getMigrationJobs
in interfaceListMigrationJobsResponseOrBuilder
-
setMigrationJobs
public ListMigrationJobsResponse.Builder setMigrationJobs(int index, MigrationJob value)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
setMigrationJobs
public ListMigrationJobsResponse.Builder setMigrationJobs(int index, MigrationJob.Builder builderForValue)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
addMigrationJobs
public ListMigrationJobsResponse.Builder addMigrationJobs(MigrationJob value)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
addMigrationJobs
public ListMigrationJobsResponse.Builder addMigrationJobs(int index, MigrationJob value)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
addMigrationJobs
public ListMigrationJobsResponse.Builder addMigrationJobs(MigrationJob.Builder builderForValue)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
addMigrationJobs
public ListMigrationJobsResponse.Builder addMigrationJobs(int index, MigrationJob.Builder builderForValue)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
addAllMigrationJobs
public ListMigrationJobsResponse.Builder addAllMigrationJobs(Iterable<? extends MigrationJob> values)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
clearMigrationJobs
public ListMigrationJobsResponse.Builder clearMigrationJobs()
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
removeMigrationJobs
public ListMigrationJobsResponse.Builder removeMigrationJobs(int index)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
getMigrationJobsBuilder
public MigrationJob.Builder getMigrationJobsBuilder(int index)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
getMigrationJobsOrBuilder
public MigrationJobOrBuilder getMigrationJobsOrBuilder(int index)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
- Specified by:
getMigrationJobsOrBuilder
in interfaceListMigrationJobsResponseOrBuilder
-
getMigrationJobsOrBuilderList
public List<? extends MigrationJobOrBuilder> getMigrationJobsOrBuilderList()
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
- Specified by:
getMigrationJobsOrBuilderList
in interfaceListMigrationJobsResponseOrBuilder
-
addMigrationJobsBuilder
public MigrationJob.Builder addMigrationJobsBuilder()
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
addMigrationJobsBuilder
public MigrationJob.Builder addMigrationJobsBuilder(int index)
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1;
-
getMigrationJobsBuilderList
public List<MigrationJob.Builder> getMigrationJobsBuilderList()
The list of migration jobs objects.
repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 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 interfaceListMigrationJobsResponseOrBuilder
- 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 interfaceListMigrationJobsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListMigrationJobsResponse.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 ListMigrationJobsResponse.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 ListMigrationJobsResponse.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 interfaceListMigrationJobsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListMigrationJobsResponseOrBuilder
- 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 interfaceListMigrationJobsResponseOrBuilder
- 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 interfaceListMigrationJobsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListMigrationJobsResponse.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 ListMigrationJobsResponse.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 ListMigrationJobsResponse.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 ListMigrationJobsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListMigrationJobsResponse.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 ListMigrationJobsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationJobsResponse.Builder>
-
mergeUnknownFields
public final ListMigrationJobsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigrationJobsResponse.Builder>
-
-