Class DisksScopedList.Builder

  • All Implemented Interfaces:
    DisksScopedListOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    DisksScopedList

    public static final class DisksScopedList.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DisksScopedList.Builder>
    implements DisksScopedListOrBuilder
     
    Protobuf type google.cloud.compute.v1.DisksScopedList
    • 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<DisksScopedList.Builder>
      • clear

        public DisksScopedList.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.GeneratedMessageV3.Builder<DisksScopedList.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<DisksScopedList.Builder>
      • getDefaultInstanceForType

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

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

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

        public DisksScopedList.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DisksScopedList.Builder>
      • setField

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

        public DisksScopedList.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DisksScopedList.Builder>
      • clearOneof

        public DisksScopedList.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DisksScopedList.Builder>
      • setRepeatedField

        public DisksScopedList.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<DisksScopedList.Builder>
      • addRepeatedField

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

        public DisksScopedList.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<DisksScopedList.Builder>
      • isInitialized

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

        public DisksScopedList.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<DisksScopedList.Builder>
        Throws:
        IOException
      • getDisksList

        public List<Disk> getDisksList()
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
        Specified by:
        getDisksList in interface DisksScopedListOrBuilder
      • getDisksCount

        public int getDisksCount()
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
        Specified by:
        getDisksCount in interface DisksScopedListOrBuilder
      • getDisks

        public Disk getDisks​(int index)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
        Specified by:
        getDisks in interface DisksScopedListOrBuilder
      • setDisks

        public DisksScopedList.Builder setDisks​(int index,
                                                Disk value)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • setDisks

        public DisksScopedList.Builder setDisks​(int index,
                                                Disk.Builder builderForValue)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • addDisks

        public DisksScopedList.Builder addDisks​(Disk value)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • addDisks

        public DisksScopedList.Builder addDisks​(int index,
                                                Disk value)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • addDisks

        public DisksScopedList.Builder addDisks​(Disk.Builder builderForValue)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • addDisks

        public DisksScopedList.Builder addDisks​(int index,
                                                Disk.Builder builderForValue)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • addAllDisks

        public DisksScopedList.Builder addAllDisks​(Iterable<? extends Disk> values)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • clearDisks

        public DisksScopedList.Builder clearDisks()
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • removeDisks

        public DisksScopedList.Builder removeDisks​(int index)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • getDisksBuilder

        public Disk.Builder getDisksBuilder​(int index)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • addDisksBuilder

        public Disk.Builder addDisksBuilder()
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • addDisksBuilder

        public Disk.Builder addDisksBuilder​(int index)
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • getDisksBuilderList

        public List<Disk.Builder> getDisksBuilderList()
         [Output Only] A list of disks contained in this scope.
         
        repeated .google.cloud.compute.v1.Disk disks = 95594102;
      • hasWarning

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

        public Warning getWarning()
         [Output Only] Informational warning which replaces the list of disks when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
        Specified by:
        getWarning in interface DisksScopedListOrBuilder
        Returns:
        The warning.
      • setWarning

        public DisksScopedList.Builder setWarning​(Warning value)
         [Output Only] Informational warning which replaces the list of disks when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • setWarning

        public DisksScopedList.Builder setWarning​(Warning.Builder builderForValue)
         [Output Only] Informational warning which replaces the list of disks when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • mergeWarning

        public DisksScopedList.Builder mergeWarning​(Warning value)
         [Output Only] Informational warning which replaces the list of disks when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • clearWarning

        public DisksScopedList.Builder clearWarning()
         [Output Only] Informational warning which replaces the list of disks when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • getWarningBuilder

        public Warning.Builder getWarningBuilder()
         [Output Only] Informational warning which replaces the list of disks when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
      • getWarningOrBuilder

        public WarningOrBuilder getWarningOrBuilder()
         [Output Only] Informational warning which replaces the list of disks when the list is empty.
         
        optional .google.cloud.compute.v1.Warning warning = 50704284;
        Specified by:
        getWarningOrBuilder in interface DisksScopedListOrBuilder
      • setUnknownFields

        public final DisksScopedList.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<DisksScopedList.Builder>
      • mergeUnknownFields

        public final DisksScopedList.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<DisksScopedList.Builder>