Interface Project.ServiceTermsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Project.ServiceTerms,Project.ServiceTerms.Builder
- Enclosing class:
- Project
public static interface Project.ServiceTermsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe last time when the project agreed to the terms of service.com.google.protobuf.TimestampOrBuilderThe last time when the project agreed to the terms of service.com.google.protobuf.TimestampThe last time when the project declined or revoked the agreement to terms of service.com.google.protobuf.TimestampOrBuilderThe last time when the project declined or revoked the agreement to terms of service.getId()The unique identifier of this terms of service.com.google.protobuf.ByteStringThe unique identifier of this terms of service.getState()Whether the project has accepted/rejected the service terms or it is still pending.intWhether the project has accepted/rejected the service terms or it is still pending.The version string of the terms of service.com.google.protobuf.ByteStringThe version string of the terms of service.booleanThe last time when the project agreed to the terms of service.booleanThe last time when the project declined or revoked the agreement to terms of service.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable [version][google.cloud.discoveryengine.v1beta.Project.ServiceTerms.version] to provide is `2022-11-23`.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable [version][google.cloud.discoveryengine.v1beta.Project.ServiceTerms.version] to provide is `2022-11-23`.
string id = 1;- Returns:
- The bytes for id.
-
getVersion
String getVersion()The version string of the terms of service. For acceptable values, see the comments for [id][google.cloud.discoveryengine.v1beta.Project.ServiceTerms.id] above.
string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()The version string of the terms of service. For acceptable values, see the comments for [id][google.cloud.discoveryengine.v1beta.Project.ServiceTerms.id] above.
string version = 2;- Returns:
- The bytes for version.
-
getStateValue
int getStateValue()Whether the project has accepted/rejected the service terms or it is still pending.
.google.cloud.discoveryengine.v1beta.Project.ServiceTerms.State state = 4;- Returns:
- The enum numeric value on the wire for state.
-
getState
Project.ServiceTerms.State getState()Whether the project has accepted/rejected the service terms or it is still pending.
.google.cloud.discoveryengine.v1beta.Project.ServiceTerms.State state = 4;- Returns:
- The state.
-
hasAcceptTime
boolean hasAcceptTime()The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;- Returns:
- Whether the acceptTime field is set.
-
getAcceptTime
com.google.protobuf.Timestamp getAcceptTime()The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;- Returns:
- The acceptTime.
-
getAcceptTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getAcceptTimeOrBuilder()The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5; -
hasDeclineTime
boolean hasDeclineTime()The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;- Returns:
- Whether the declineTime field is set.
-
getDeclineTime
com.google.protobuf.Timestamp getDeclineTime()The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;- Returns:
- The declineTime.
-
getDeclineTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getDeclineTimeOrBuilder()The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;
-