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

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

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

        public ListDatacenterConnectorsResponse 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<ListDatacenterConnectorsResponse.Builder>
      • getDatacenterConnectorsCount

        public int getDatacenterConnectorsCount()
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDatacenterConnectorsCount in interface ListDatacenterConnectorsResponseOrBuilder
      • setDatacenterConnectors

        public ListDatacenterConnectorsResponse.Builder setDatacenterConnectors​(int index,
                                                                                DatacenterConnector value)
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addDatacenterConnectors

        public ListDatacenterConnectorsResponse.Builder addDatacenterConnectors​(DatacenterConnector value)
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addDatacenterConnectors

        public ListDatacenterConnectorsResponse.Builder addDatacenterConnectors​(int index,
                                                                                DatacenterConnector value)
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDatacenterConnectors

        public ListDatacenterConnectorsResponse.Builder clearDatacenterConnectors()
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeDatacenterConnectors

        public ListDatacenterConnectorsResponse.Builder removeDatacenterConnectors​(int index)
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDatacenterConnectorsBuilder

        public DatacenterConnector.Builder getDatacenterConnectorsBuilder​(int index)
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addDatacenterConnectorsBuilder

        public DatacenterConnector.Builder addDatacenterConnectorsBuilder()
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addDatacenterConnectorsBuilder

        public DatacenterConnector.Builder addDatacenterConnectorsBuilder​(int index)
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDatacenterConnectorsBuilderList

        public List<DatacenterConnector.Builder> getDatacenterConnectorsBuilderList()
         Output only. The list of sources response.
         
        repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 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 ListDatacenterConnectorsResponseOrBuilder
        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 ListDatacenterConnectorsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

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

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