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.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 TypeMethodDescriptionbuild()clear()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.Descriptorcom.google.protobuf.Descriptors.DescriptorThe IP address from which the Uptime check originates.com.google.protobuf.ByteStringThe 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.ByteStringA 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.intA broad region category in which the IP address is located.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UptimeCheckIp other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIpAddress(String value) The IP address from which the Uptime check originates.setIpAddressBytes(com.google.protobuf.ByteString value) The IP address from which the Uptime check originates.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.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.setRegion(UptimeCheckRegion value) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckIp.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<UptimeCheckIp.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckIp.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
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
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
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
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
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
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.
-