com.google.maps.places.v1.ReviewOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-maps-places-v1 Show documentation
Show all versions of proto-google-maps-places-v1 Show documentation
Proto library for google-maps-places
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/maps/places/v1/review.proto
package com.google.maps.places.v1;
public interface ReviewOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.maps.places.v1.Review)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. A reference representing this place review which may be used
* to look up this place review again (a.k.a. the API "resource" name:
* places/{place_id}/reviews/{review}).
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. A reference representing this place review which may be used
* to look up this place review again (a.k.a. the API "resource" name:
* places/{place_id}/reviews/{review}).
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. A string of formatted recent time, expressing the review time
* relative to the current time in a form appropriate for the language and
* country.
*
*
*
* string relative_publish_time_description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The relativePublishTimeDescription.
*/
java.lang.String getRelativePublishTimeDescription();
/**
*
*
*
* Output only. A string of formatted recent time, expressing the review time
* relative to the current time in a form appropriate for the language and
* country.
*
*
*
* string relative_publish_time_description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The bytes for relativePublishTimeDescription.
*/
com.google.protobuf.ByteString getRelativePublishTimeDescriptionBytes();
/**
*
*
*
* Output only. The localized text of the review.
*
*
* .google.type.LocalizedText text = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return Whether the text field is set.
*/
boolean hasText();
/**
*
*
*
* Output only. The localized text of the review.
*
*
* .google.type.LocalizedText text = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The text.
*/
com.google.type.LocalizedText getText();
/**
*
*
*
* Output only. The localized text of the review.
*
*
* .google.type.LocalizedText text = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
com.google.type.LocalizedTextOrBuilder getTextOrBuilder();
/**
*
*
*
* Output only. The review text in its original language.
*
*
*
* .google.type.LocalizedText original_text = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the originalText field is set.
*/
boolean hasOriginalText();
/**
*
*
*
* Output only. The review text in its original language.
*
*
*
* .google.type.LocalizedText original_text = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The originalText.
*/
com.google.type.LocalizedText getOriginalText();
/**
*
*
*
* Output only. The review text in its original language.
*
*
*
* .google.type.LocalizedText original_text = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.type.LocalizedTextOrBuilder getOriginalTextOrBuilder();
/**
*
*
*
* Output only. A number between 1.0 and 5.0, a.k.a. the number of stars.
*
*
* double rating = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The rating.
*/
double getRating();
/**
*
*
*
* Output only. This review's author.
*
*
*
* .google.maps.places.v1.AuthorAttribution author_attribution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the authorAttribution field is set.
*/
boolean hasAuthorAttribution();
/**
*
*
*
* Output only. This review's author.
*
*
*
* .google.maps.places.v1.AuthorAttribution author_attribution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The authorAttribution.
*/
com.google.maps.places.v1.AuthorAttribution getAuthorAttribution();
/**
*
*
*
* Output only. This review's author.
*
*
*
* .google.maps.places.v1.AuthorAttribution author_attribution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.maps.places.v1.AuthorAttributionOrBuilder getAuthorAttributionOrBuilder();
/**
*
*
*
* Output only. Timestamp for the review.
*
*
*
* .google.protobuf.Timestamp publish_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the publishTime field is set.
*/
boolean hasPublishTime();
/**
*
*
*
* Output only. Timestamp for the review.
*
*
*
* .google.protobuf.Timestamp publish_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The publishTime.
*/
com.google.protobuf.Timestamp getPublishTime();
/**
*
*
*
* Output only. Timestamp for the review.
*
*
*
* .google.protobuf.Timestamp publish_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder();
}