public static final class Geolocation.Builder extends GeneratedMessageV3.Builder<Geolocation.Builder> implements GeolocationOrBuilder
Represents a geographical location for a given access.
Protobuf type google.cloud.securitycenter.v2.Geolocation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Geolocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Geolocation build()
buildPartial()
public Geolocation buildPartial()
clear()
public Geolocation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Geolocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Geolocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRegionCode()
public Geolocation.Builder clearRegionCode()
A CLDR.
string region_code = 1;
clone()
public Geolocation.Builder clone()
Overrides
getDefaultInstanceForType()
public Geolocation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRegionCode()
public String getRegionCode()
A CLDR.
string region_code = 1;
Returns |
Type |
Description |
String |
The regionCode.
|
getRegionCodeBytes()
public ByteString getRegionCodeBytes()
A CLDR.
string region_code = 1;
Returns |
Type |
Description |
ByteString |
The bytes for regionCode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Geolocation other)
public Geolocation.Builder mergeFrom(Geolocation other)
public Geolocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Geolocation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Geolocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Geolocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRegionCode(String value)
public Geolocation.Builder setRegionCode(String value)
A CLDR.
string region_code = 1;
Parameter |
Name |
Description |
value |
String
The regionCode to set.
|
setRegionCodeBytes(ByteString value)
public Geolocation.Builder setRegionCodeBytes(ByteString value)
A CLDR.
string region_code = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for regionCode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Geolocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Geolocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides