Class ServiceAttachmentsScopedList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentsScopedList.Builder>
com.google.cloud.compute.v1.ServiceAttachmentsScopedList.Builder
All Implemented Interfaces:
ServiceAttachmentsScopedListOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ServiceAttachmentsScopedList

public static final class ServiceAttachmentsScopedList.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentsScopedList.Builder> implements ServiceAttachmentsScopedListOrBuilder
 
Protobuf type google.cloud.compute.v1.ServiceAttachmentsScopedList
  • 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<ServiceAttachmentsScopedList.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<ServiceAttachmentsScopedList.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<ServiceAttachmentsScopedList.Builder>
    • getDefaultInstanceForType

      public ServiceAttachmentsScopedList 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

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

      public ServiceAttachmentsScopedList.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<ServiceAttachmentsScopedList.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<ServiceAttachmentsScopedList.Builder>
    • mergeFrom

      public ServiceAttachmentsScopedList.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<ServiceAttachmentsScopedList.Builder>
      Throws:
      IOException
    • getServiceAttachmentsList

      public List<ServiceAttachment> getServiceAttachmentsList()
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
      Specified by:
      getServiceAttachmentsList in interface ServiceAttachmentsScopedListOrBuilder
    • getServiceAttachmentsCount

      public int getServiceAttachmentsCount()
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
      Specified by:
      getServiceAttachmentsCount in interface ServiceAttachmentsScopedListOrBuilder
    • getServiceAttachments

      public ServiceAttachment getServiceAttachments(int index)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
      Specified by:
      getServiceAttachments in interface ServiceAttachmentsScopedListOrBuilder
    • setServiceAttachments

      public ServiceAttachmentsScopedList.Builder setServiceAttachments(int index, ServiceAttachment value)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • setServiceAttachments

      public ServiceAttachmentsScopedList.Builder setServiceAttachments(int index, ServiceAttachment.Builder builderForValue)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • addServiceAttachments

      public ServiceAttachmentsScopedList.Builder addServiceAttachments(ServiceAttachment value)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • addServiceAttachments

      public ServiceAttachmentsScopedList.Builder addServiceAttachments(int index, ServiceAttachment value)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • addServiceAttachments

      public ServiceAttachmentsScopedList.Builder addServiceAttachments(ServiceAttachment.Builder builderForValue)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • addServiceAttachments

      public ServiceAttachmentsScopedList.Builder addServiceAttachments(int index, ServiceAttachment.Builder builderForValue)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • addAllServiceAttachments

      public ServiceAttachmentsScopedList.Builder addAllServiceAttachments(Iterable<? extends ServiceAttachment> values)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • clearServiceAttachments

      public ServiceAttachmentsScopedList.Builder clearServiceAttachments()
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • removeServiceAttachments

      public ServiceAttachmentsScopedList.Builder removeServiceAttachments(int index)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • getServiceAttachmentsBuilder

      public ServiceAttachment.Builder getServiceAttachmentsBuilder(int index)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • getServiceAttachmentsOrBuilder

      public ServiceAttachmentOrBuilder getServiceAttachmentsOrBuilder(int index)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
      Specified by:
      getServiceAttachmentsOrBuilder in interface ServiceAttachmentsScopedListOrBuilder
    • getServiceAttachmentsOrBuilderList

      public List<? extends ServiceAttachmentOrBuilder> getServiceAttachmentsOrBuilderList()
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
      Specified by:
      getServiceAttachmentsOrBuilderList in interface ServiceAttachmentsScopedListOrBuilder
    • addServiceAttachmentsBuilder

      public ServiceAttachment.Builder addServiceAttachmentsBuilder()
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • addServiceAttachmentsBuilder

      public ServiceAttachment.Builder addServiceAttachmentsBuilder(int index)
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • getServiceAttachmentsBuilderList

      public List<ServiceAttachment.Builder> getServiceAttachmentsBuilderList()
       A list of ServiceAttachments contained in this scope.
       
      repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
    • hasWarning

      public boolean hasWarning()
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface ServiceAttachmentsScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface ServiceAttachmentsScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public ServiceAttachmentsScopedList.Builder setWarning(Warning value)
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public ServiceAttachmentsScopedList.Builder setWarning(Warning.Builder builderForValue)
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public ServiceAttachmentsScopedList.Builder mergeWarning(Warning value)
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public ServiceAttachmentsScopedList.Builder clearWarning()
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Informational warning which replaces the list of
       service attachments when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface ServiceAttachmentsScopedListOrBuilder