public static final class UserInfo.PreciseLocation extends GeneratedMessage implements UserInfo.PreciseLocationOrBuilderPrecise location info with multiple representation options.
Protobuf type google.cloud.discoveryengine.v1.UserInfo.PreciseLocation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UserInfo.PreciseLocationImplements
UserInfo.PreciseLocationOrBuilderStatic Fields
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
POINT_FIELD_NUMBER
public static final int POINT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UserInfo.PreciseLocation getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UserInfo.PreciseLocation.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation.Builder |
|
newBuilder(UserInfo.PreciseLocation prototype)
public static UserInfo.PreciseLocation.Builder newBuilder(UserInfo.PreciseLocation prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UserInfo.PreciseLocation |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation.Builder |
|
parseDelimitedFrom(InputStream input)
public static UserInfo.PreciseLocation parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserInfo.PreciseLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UserInfo.PreciseLocation parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserInfo.PreciseLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UserInfo.PreciseLocation parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserInfo.PreciseLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UserInfo.PreciseLocation parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserInfo.PreciseLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UserInfo.PreciseLocation parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserInfo.PreciseLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UserInfo.PreciseLocation parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserInfo.PreciseLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UserInfo.PreciseLocation> parser()| Returns | |
|---|---|
| Type | Description |
Parser<PreciseLocation> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAddress()
public String getAddress()Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.
string address = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The address. |
getAddressBytes()
public ByteString getAddressBytes()Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.
string address = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for address. |
getDefaultInstanceForType()
public UserInfo.PreciseLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation |
|
getLocationCase()
public UserInfo.PreciseLocation.LocationCase getLocationCase()| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation.LocationCase |
|
getParserForType()
public Parser<UserInfo.PreciseLocation> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<PreciseLocation> |
|
getPoint()
public LatLng getPoint()Optional. Location represented by a latitude/longitude point.
.google.type.LatLng point = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLng |
The point. |
getPointOrBuilder()
public LatLngOrBuilder getPointOrBuilder()Optional. Location represented by a latitude/longitude point.
.google.type.LatLng point = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLngOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasAddress()
public boolean hasAddress()Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.
string address = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the address field is set. |
hasPoint()
public boolean hasPoint()Optional. Location represented by a latitude/longitude point.
.google.type.LatLng point = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the point field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public UserInfo.PreciseLocation.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UserInfo.PreciseLocation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation.Builder |
|
toBuilder()
public UserInfo.PreciseLocation.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UserInfo.PreciseLocation.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|