Class ListMigratingVmsResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
      • getDefaultInstanceForType

        public ListMigratingVmsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListMigratingVmsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListMigratingVmsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public ListMigratingVmsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
      • addRepeatedField

        public ListMigratingVmsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListMigratingVmsResponse.Builder>
        Throws:
        IOException
      • 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 interface ListMigratingVmsResponseOrBuilder
      • 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 interface ListMigratingVmsResponseOrBuilder
      • 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];
      • 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 interface ListMigratingVmsResponseOrBuilder
        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 interface ListMigratingVmsResponseOrBuilder
        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 interface ListMigratingVmsResponseOrBuilder
        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 interface ListMigratingVmsResponseOrBuilder
        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 interface ListMigratingVmsResponseOrBuilder
        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 interface ListMigratingVmsResponseOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>
      • mergeUnknownFields

        public final ListMigratingVmsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListMigratingVmsResponse.Builder>