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

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

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

        public FirewallOuterClass.MemoryUsage 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<FirewallOuterClass.MemoryUsage.Builder>
      • hasName

        public boolean hasName()
         The router has typically several types of memories (e.g. CPU's memory,
         ASIC's forwarding memories) in which the firewall object is written.
         This field indicates the name of the memory subsystem whose utilization
         is being reported.
         
        required string name = 1 [(.telemetry_options) = { ... }
        Specified by:
        hasName in interface FirewallOuterClass.MemoryUsageOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         The router has typically several types of memories (e.g. CPU's memory,
         ASIC's forwarding memories) in which the firewall object is written.
         This field indicates the name of the memory subsystem whose utilization
         is being reported.
         
        required string name = 1 [(.telemetry_options) = { ... }
        Specified by:
        getName in interface FirewallOuterClass.MemoryUsageOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The router has typically several types of memories (e.g. CPU's memory,
         ASIC's forwarding memories) in which the firewall object is written.
         This field indicates the name of the memory subsystem whose utilization
         is being reported.
         
        required string name = 1 [(.telemetry_options) = { ... }
        Specified by:
        getNameBytes in interface FirewallOuterClass.MemoryUsageOrBuilder
        Returns:
        The bytes for name.
      • setName

        public FirewallOuterClass.MemoryUsage.Builder setName​(String value)
         The router has typically several types of memories (e.g. CPU's memory,
         ASIC's forwarding memories) in which the firewall object is written.
         This field indicates the name of the memory subsystem whose utilization
         is being reported.
         
        required string name = 1 [(.telemetry_options) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public FirewallOuterClass.MemoryUsage.Builder clearName()
         The router has typically several types of memories (e.g. CPU's memory,
         ASIC's forwarding memories) in which the firewall object is written.
         This field indicates the name of the memory subsystem whose utilization
         is being reported.
         
        required string name = 1 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public FirewallOuterClass.MemoryUsage.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The router has typically several types of memories (e.g. CPU's memory,
         ASIC's forwarding memories) in which the firewall object is written.
         This field indicates the name of the memory subsystem whose utilization
         is being reported.
         
        required string name = 1 [(.telemetry_options) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasAllocated

        public boolean hasAllocated()
         The amount of the memory allocated in bytes to the filter
         
        optional uint64 allocated = 2 [(.telemetry_options) = { ... }
        Specified by:
        hasAllocated in interface FirewallOuterClass.MemoryUsageOrBuilder
        Returns:
        Whether the allocated field is set.
      • getAllocated

        public long getAllocated()
         The amount of the memory allocated in bytes to the filter
         
        optional uint64 allocated = 2 [(.telemetry_options) = { ... }
        Specified by:
        getAllocated in interface FirewallOuterClass.MemoryUsageOrBuilder
        Returns:
        The allocated.
      • setAllocated

        public FirewallOuterClass.MemoryUsage.Builder setAllocated​(long value)
         The amount of the memory allocated in bytes to the filter
         
        optional uint64 allocated = 2 [(.telemetry_options) = { ... }
        Parameters:
        value - The allocated to set.
        Returns:
        This builder for chaining.
      • clearAllocated

        public FirewallOuterClass.MemoryUsage.Builder clearAllocated()
         The amount of the memory allocated in bytes to the filter
         
        optional uint64 allocated = 2 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.