Class UptimeCheckIp.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder>
com.google.monitoring.v3.UptimeCheckIp.Builder
All Implemented Interfaces:
UptimeCheckIpOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UptimeCheckIp

public static final class UptimeCheckIp.Builder extends com.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder> implements UptimeCheckIpOrBuilder
 Contains the region, location, and list of IP
 addresses where checkers in the location run from.
 
Protobuf type google.monitoring.v3.UptimeCheckIp
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The IP address from which the Uptime check originates.
    A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
    A broad region category in which the IP address is located.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The IP address from which the Uptime check originates.
    com.google.protobuf.ByteString
    The IP address from which the Uptime check originates.
    A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
    com.google.protobuf.ByteString
    A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
    A broad region category in which the IP address is located.
    int
    A broad region category in which the IP address is located.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The IP address from which the Uptime check originates.
    setIpAddressBytes(com.google.protobuf.ByteString value)
    The IP address from which the Uptime check originates.
    A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
    setLocationBytes(com.google.protobuf.ByteString value)
    A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
    A broad region category in which the IP address is located.
    setRegionValue(int value)
    A broad region category in which the IP address is located.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<UptimeCheckIp.Builder>
    • clear

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

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

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

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

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

      public UptimeCheckIp.Builder mergeFrom(UptimeCheckIp other)
    • isInitialized

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

      public UptimeCheckIp.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<UptimeCheckIp.Builder>
      Throws:
      IOException
    • getRegionValue

      public int getRegionValue()
       A broad region category in which the IP address is located.
       
      .google.monitoring.v3.UptimeCheckRegion region = 1;
      Specified by:
      getRegionValue in interface UptimeCheckIpOrBuilder
      Returns:
      The enum numeric value on the wire for region.
    • setRegionValue

      public UptimeCheckIp.Builder setRegionValue(int value)
       A broad region category in which the IP address is located.
       
      .google.monitoring.v3.UptimeCheckRegion region = 1;
      Parameters:
      value - The enum numeric value on the wire for region to set.
      Returns:
      This builder for chaining.
    • getRegion

      public UptimeCheckRegion getRegion()
       A broad region category in which the IP address is located.
       
      .google.monitoring.v3.UptimeCheckRegion region = 1;
      Specified by:
      getRegion in interface UptimeCheckIpOrBuilder
      Returns:
      The region.
    • setRegion

      public UptimeCheckIp.Builder setRegion(UptimeCheckRegion value)
       A broad region category in which the IP address is located.
       
      .google.monitoring.v3.UptimeCheckRegion region = 1;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public UptimeCheckIp.Builder clearRegion()
       A broad region category in which the IP address is located.
       
      .google.monitoring.v3.UptimeCheckRegion region = 1;
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       A more specific location within the region that typically encodes
       a particular city/town/metro (and its containing state/province or country)
       within the broader umbrella region category.
       
      string location = 2;
      Specified by:
      getLocation in interface UptimeCheckIpOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       A more specific location within the region that typically encodes
       a particular city/town/metro (and its containing state/province or country)
       within the broader umbrella region category.
       
      string location = 2;
      Specified by:
      getLocationBytes in interface UptimeCheckIpOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public UptimeCheckIp.Builder setLocation(String value)
       A more specific location within the region that typically encodes
       a particular city/town/metro (and its containing state/province or country)
       within the broader umbrella region category.
       
      string location = 2;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public UptimeCheckIp.Builder clearLocation()
       A more specific location within the region that typically encodes
       a particular city/town/metro (and its containing state/province or country)
       within the broader umbrella region category.
       
      string location = 2;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public UptimeCheckIp.Builder setLocationBytes(com.google.protobuf.ByteString value)
       A more specific location within the region that typically encodes
       a particular city/town/metro (and its containing state/province or country)
       within the broader umbrella region category.
       
      string location = 2;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • getIpAddress

      public String getIpAddress()
       The IP address from which the Uptime check originates. This is a fully
       specified IP address (not an IP address range). Most IP addresses, as of
       this publication, are in IPv4 format; however, one should not rely on the
       IP addresses being in IPv4 format indefinitely, and should support
       interpreting this field in either IPv4 or IPv6 format.
       
      string ip_address = 3;
      Specified by:
      getIpAddress in interface UptimeCheckIpOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       The IP address from which the Uptime check originates. This is a fully
       specified IP address (not an IP address range). Most IP addresses, as of
       this publication, are in IPv4 format; however, one should not rely on the
       IP addresses being in IPv4 format indefinitely, and should support
       interpreting this field in either IPv4 or IPv6 format.
       
      string ip_address = 3;
      Specified by:
      getIpAddressBytes in interface UptimeCheckIpOrBuilder
      Returns:
      The bytes for ipAddress.
    • setIpAddress

      public UptimeCheckIp.Builder setIpAddress(String value)
       The IP address from which the Uptime check originates. This is a fully
       specified IP address (not an IP address range). Most IP addresses, as of
       this publication, are in IPv4 format; however, one should not rely on the
       IP addresses being in IPv4 format indefinitely, and should support
       interpreting this field in either IPv4 or IPv6 format.
       
      string ip_address = 3;
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • clearIpAddress

      public UptimeCheckIp.Builder clearIpAddress()
       The IP address from which the Uptime check originates. This is a fully
       specified IP address (not an IP address range). Most IP addresses, as of
       this publication, are in IPv4 format; however, one should not rely on the
       IP addresses being in IPv4 format indefinitely, and should support
       interpreting this field in either IPv4 or IPv6 format.
       
      string ip_address = 3;
      Returns:
      This builder for chaining.
    • setIpAddressBytes

      public UptimeCheckIp.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
       The IP address from which the Uptime check originates. This is a fully
       specified IP address (not an IP address range). Most IP addresses, as of
       this publication, are in IPv4 format; however, one should not rely on the
       IP addresses being in IPv4 format indefinitely, and should support
       interpreting this field in either IPv4 or IPv6 format.
       
      string ip_address = 3;
      Parameters:
      value - The bytes for ipAddress to set.
      Returns:
      This builder for chaining.