Class ListReplicationCyclesResponse.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<ListReplicationCyclesResponse.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<ListReplicationCyclesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListReplicationCyclesResponse.Builder>
      • mergeFrom

        public ListReplicationCyclesResponse.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<ListReplicationCyclesResponse.Builder>
        Throws:
        IOException
      • getReplicationCyclesCount

        public int getReplicationCyclesCount()
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReplicationCyclesCount in interface ListReplicationCyclesResponseOrBuilder
      • setReplicationCycles

        public ListReplicationCyclesResponse.Builder setReplicationCycles​(int index,
                                                                          ReplicationCycle value)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setReplicationCycles

        public ListReplicationCyclesResponse.Builder setReplicationCycles​(int index,
                                                                          ReplicationCycle.Builder builderForValue)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addReplicationCycles

        public ListReplicationCyclesResponse.Builder addReplicationCycles​(ReplicationCycle value)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addReplicationCycles

        public ListReplicationCyclesResponse.Builder addReplicationCycles​(int index,
                                                                          ReplicationCycle value)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addReplicationCycles

        public ListReplicationCyclesResponse.Builder addReplicationCycles​(ReplicationCycle.Builder builderForValue)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addReplicationCycles

        public ListReplicationCyclesResponse.Builder addReplicationCycles​(int index,
                                                                          ReplicationCycle.Builder builderForValue)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllReplicationCycles

        public ListReplicationCyclesResponse.Builder addAllReplicationCycles​(Iterable<? extends ReplicationCycle> values)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearReplicationCycles

        public ListReplicationCyclesResponse.Builder clearReplicationCycles()
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeReplicationCycles

        public ListReplicationCyclesResponse.Builder removeReplicationCycles​(int index)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getReplicationCyclesBuilder

        public ReplicationCycle.Builder getReplicationCyclesBuilder​(int index)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addReplicationCyclesBuilder

        public ReplicationCycle.Builder addReplicationCyclesBuilder()
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addReplicationCyclesBuilder

        public ReplicationCycle.Builder addReplicationCyclesBuilder​(int index)
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getReplicationCyclesBuilderList

        public List<ReplicationCycle.Builder> getReplicationCyclesBuilderList()
         Output only. The list of replication cycles response.
         
        repeated .google.cloud.vmmigration.v1.ReplicationCycle replication_cycles = 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 ListReplicationCyclesResponseOrBuilder
        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 ListReplicationCyclesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListReplicationCyclesResponse.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 ListReplicationCyclesResponse.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 ListReplicationCyclesResponse.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 ListReplicationCyclesResponseOrBuilder
        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 ListReplicationCyclesResponseOrBuilder
        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 ListReplicationCyclesResponseOrBuilder
        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 ListReplicationCyclesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListReplicationCyclesResponse.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 ListReplicationCyclesResponse.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 ListReplicationCyclesResponse.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 ListReplicationCyclesResponse.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 ListReplicationCyclesResponse.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.