Package com.google.monitoring.v3
Class UptimeCheckIp.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<UptimeCheckIp.Builder> implements UptimeCheckIpOrBuilder
Contains the region, location, and list of IP addresses where checkers in the location run from.
Protobuf typegoogle.monitoring.v3.UptimeCheckIp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UptimeCheckIp.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UptimeCheckIpbuild()UptimeCheckIpbuildPartial()UptimeCheckIp.Builderclear()UptimeCheckIp.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UptimeCheckIp.BuilderclearIpAddress()The IP address from which the Uptime check originates.UptimeCheckIp.BuilderclearLocation()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.UptimeCheckIp.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UptimeCheckIp.BuilderclearRegion()A broad region category in which the IP address is located.UptimeCheckIp.Builderclone()UptimeCheckIpgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIpAddress()The IP address from which the Uptime check originates.com.google.protobuf.ByteStringgetIpAddressBytes()The IP address from which the Uptime check originates.StringgetLocation()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.ByteStringgetLocationBytes()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.UptimeCheckRegiongetRegion()A broad region category in which the IP address is located.intgetRegionValue()A broad region category in which the IP address is located.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UptimeCheckIp.BuildermergeFrom(UptimeCheckIp other)UptimeCheckIp.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UptimeCheckIp.BuildermergeFrom(com.google.protobuf.Message other)UptimeCheckIp.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UptimeCheckIp.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UptimeCheckIp.BuildersetIpAddress(String value)The IP address from which the Uptime check originates.UptimeCheckIp.BuildersetIpAddressBytes(com.google.protobuf.ByteString value)The IP address from which the Uptime check originates.UptimeCheckIp.BuildersetLocation(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.UptimeCheckIp.BuildersetLocationBytes(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.UptimeCheckIp.BuildersetRegion(UptimeCheckRegion value)A broad region category in which the IP address is located.UptimeCheckIp.BuildersetRegionValue(int value)A broad region category in which the IP address is located.UptimeCheckIp.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UptimeCheckIp.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
clear
public UptimeCheckIp.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
getDefaultInstanceForType
public UptimeCheckIp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UptimeCheckIp build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UptimeCheckIp buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UptimeCheckIp.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
setField
public UptimeCheckIp.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
clearField
public UptimeCheckIp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
clearOneof
public UptimeCheckIp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
setRepeatedField
public UptimeCheckIp.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
addRepeatedField
public UptimeCheckIp.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
mergeFrom
public UptimeCheckIp.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckIp.Builder>
-
mergeFrom
public UptimeCheckIp.Builder mergeFrom(UptimeCheckIp other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
mergeFrom
public UptimeCheckIp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getRegionValuein interfaceUptimeCheckIpOrBuilder- 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:
getRegionin interfaceUptimeCheckIpOrBuilder- 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:
getLocationin interfaceUptimeCheckIpOrBuilder- 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:
getLocationBytesin interfaceUptimeCheckIpOrBuilder- 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:
getIpAddressin interfaceUptimeCheckIpOrBuilder- 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:
getIpAddressBytesin interfaceUptimeCheckIpOrBuilder- 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.
-
setUnknownFields
public final UptimeCheckIp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
mergeUnknownFields
public final UptimeCheckIp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
-