Package com.google.cloud.vmmigration.v1
Class ListMigratingVmsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
-
- com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder
-
- All Implemented Interfaces:
ListMigratingVmsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListMigratingVmsResponse
public static final class ListMigratingVmsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder> implements ListMigratingVmsResponseOrBuilder
Response message for 'ListMigratingVms' request.
Protobuf typegoogle.cloud.vmmigration.v1.ListMigratingVmsResponse
-
-
Method Summary
-
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<ListMigratingVmsResponse.Builder>
-
clear
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
-
getDefaultInstanceForType
public ListMigratingVmsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListMigratingVmsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListMigratingVmsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
-
setField
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
-
clearField
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
-
clearOneof
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
-
setRepeatedField
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
-
addRepeatedField
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
-
mergeFrom
public ListMigratingVmsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListMigratingVmsResponse.Builder>
-
mergeFrom
public ListMigratingVmsResponse.Builder mergeFrom(ListMigratingVmsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
-
mergeFrom
public ListMigratingVmsResponse.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<ListMigratingVmsResponse.Builder>
- Throws:
IOException
-
getMigratingVmsList
public List<MigratingVm> getMigratingVmsList()
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMigratingVmsList
in interfaceListMigratingVmsResponseOrBuilder
-
getMigratingVmsCount
public int getMigratingVmsCount()
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMigratingVmsCount
in interfaceListMigratingVmsResponseOrBuilder
-
getMigratingVms
public MigratingVm getMigratingVms(int index)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMigratingVms
in interfaceListMigratingVmsResponseOrBuilder
-
setMigratingVms
public ListMigratingVmsResponse.Builder setMigratingVms(int index, MigratingVm value)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setMigratingVms
public ListMigratingVmsResponse.Builder setMigratingVms(int index, MigratingVm.Builder builderForValue)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addMigratingVms
public ListMigratingVmsResponse.Builder addMigratingVms(MigratingVm value)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addMigratingVms
public ListMigratingVmsResponse.Builder addMigratingVms(int index, MigratingVm value)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addMigratingVms
public ListMigratingVmsResponse.Builder addMigratingVms(MigratingVm.Builder builderForValue)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addMigratingVms
public ListMigratingVmsResponse.Builder addMigratingVms(int index, MigratingVm.Builder builderForValue)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllMigratingVms
public ListMigratingVmsResponse.Builder addAllMigratingVms(Iterable<? extends MigratingVm> values)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearMigratingVms
public ListMigratingVmsResponse.Builder clearMigratingVms()
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeMigratingVms
public ListMigratingVmsResponse.Builder removeMigratingVms(int index)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMigratingVmsBuilder
public MigratingVm.Builder getMigratingVmsBuilder(int index)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMigratingVmsOrBuilder
public MigratingVmOrBuilder getMigratingVmsOrBuilder(int index)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMigratingVmsOrBuilder
in interfaceListMigratingVmsResponseOrBuilder
-
getMigratingVmsOrBuilderList
public List<? extends MigratingVmOrBuilder> getMigratingVmsOrBuilderList()
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMigratingVmsOrBuilderList
in interfaceListMigratingVmsResponseOrBuilder
-
addMigratingVmsBuilder
public MigratingVm.Builder addMigratingVmsBuilder()
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addMigratingVmsBuilder
public MigratingVm.Builder addMigratingVmsBuilder(int index)
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMigratingVmsBuilderList
public List<MigratingVm.Builder> getMigratingVmsBuilderList()
Output only. The list of Migrating VMs response.
repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
- Specified by:
getNextPageToken
in interfaceListMigratingVmsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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];
- Specified by:
getNextPageTokenBytes
in interfaceListMigratingVmsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListMigratingVmsResponse.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];
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListMigratingVmsResponse.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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListMigratingVmsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachableList
in interfaceListMigratingVmsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachableCount
in interfaceListMigratingVmsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachable
in interfaceListMigratingVmsResponseOrBuilder
- 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)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachableBytes
in interfaceListMigratingVmsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListMigratingVmsResponse.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:
index
- The index to set the value at.value
- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListMigratingVmsResponse.Builder addUnreachable(String value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListMigratingVmsResponse.Builder addAllUnreachable(Iterable<String> values)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListMigratingVmsResponse.Builder clearUnreachable()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListMigratingVmsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListMigratingVmsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
-
mergeUnknownFields
public final ListMigratingVmsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
-
-