Class MulticloudDataTransferSupportedService.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MulticloudDataTransferSupportedService.Builder>
com.google.cloud.networkconnectivity.v1beta.MulticloudDataTransferSupportedService.Builder
All Implemented Interfaces:
MulticloudDataTransferSupportedServiceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MulticloudDataTransferSupportedService

public static final class MulticloudDataTransferSupportedService.Builder extends com.google.protobuf.GeneratedMessage.Builder<MulticloudDataTransferSupportedService.Builder> implements MulticloudDataTransferSupportedServiceOrBuilder
 A service in your project in a region that is eligible for Data Transfer
 Essentials configuration.
 
Protobuf type google.cloud.networkconnectivity.v1beta.MulticloudDataTransferSupportedService
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MulticloudDataTransferSupportedService.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MulticloudDataTransferSupportedService.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.GeneratedMessage.Builder<MulticloudDataTransferSupportedService.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MulticloudDataTransferSupportedService.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MulticloudDataTransferSupportedService.Builder>
    • mergeFrom

    • isInitialized

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

      public MulticloudDataTransferSupportedService.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<MulticloudDataTransferSupportedService.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the service.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface MulticloudDataTransferSupportedServiceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the service.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface MulticloudDataTransferSupportedServiceOrBuilder
      Returns:
      The bytes for name.
    • setName

       Identifier. The name of the service.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Identifier. The name of the service.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public MulticloudDataTransferSupportedService.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the service.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getServiceConfigsList

      public List<ServiceConfig> getServiceConfigsList()
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceConfigsList in interface MulticloudDataTransferSupportedServiceOrBuilder
    • getServiceConfigsCount

      public int getServiceConfigsCount()
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceConfigsCount in interface MulticloudDataTransferSupportedServiceOrBuilder
    • getServiceConfigs

      public ServiceConfig getServiceConfigs(int index)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceConfigs in interface MulticloudDataTransferSupportedServiceOrBuilder
    • setServiceConfigs

      public MulticloudDataTransferSupportedService.Builder setServiceConfigs(int index, ServiceConfig value)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setServiceConfigs

      public MulticloudDataTransferSupportedService.Builder setServiceConfigs(int index, ServiceConfig.Builder builderForValue)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addServiceConfigs

       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addServiceConfigs

      public MulticloudDataTransferSupportedService.Builder addServiceConfigs(int index, ServiceConfig value)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addServiceConfigs

      public MulticloudDataTransferSupportedService.Builder addServiceConfigs(ServiceConfig.Builder builderForValue)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addServiceConfigs

      public MulticloudDataTransferSupportedService.Builder addServiceConfigs(int index, ServiceConfig.Builder builderForValue)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllServiceConfigs

      public MulticloudDataTransferSupportedService.Builder addAllServiceConfigs(Iterable<? extends ServiceConfig> values)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearServiceConfigs

      public MulticloudDataTransferSupportedService.Builder clearServiceConfigs()
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeServiceConfigs

      public MulticloudDataTransferSupportedService.Builder removeServiceConfigs(int index)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getServiceConfigsBuilder

      public ServiceConfig.Builder getServiceConfigsBuilder(int index)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getServiceConfigsOrBuilder

      public ServiceConfigOrBuilder getServiceConfigsOrBuilder(int index)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceConfigsOrBuilder in interface MulticloudDataTransferSupportedServiceOrBuilder
    • getServiceConfigsOrBuilderList

      public List<? extends ServiceConfigOrBuilder> getServiceConfigsOrBuilderList()
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceConfigsOrBuilderList in interface MulticloudDataTransferSupportedServiceOrBuilder
    • addServiceConfigsBuilder

      public ServiceConfig.Builder addServiceConfigsBuilder()
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addServiceConfigsBuilder

      public ServiceConfig.Builder addServiceConfigsBuilder(int index)
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getServiceConfigsBuilderList

      public List<ServiceConfig.Builder> getServiceConfigsBuilderList()
       Output only. The network service tier or regional endpoint supported for
       the service.
       
      repeated .google.cloud.networkconnectivity.v1beta.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];