public static interface Project.ServiceTermsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Timestamp |
getAcceptTime()
The last time when the project agreed to the terms of service.
|
com.google.protobuf.TimestampOrBuilder |
getAcceptTimeOrBuilder()
The last time when the project agreed to the terms of service.
|
com.google.protobuf.Timestamp |
getDeclineTime()
The last time when the project declined or revoked the agreement to terms
of service.
|
com.google.protobuf.TimestampOrBuilder |
getDeclineTimeOrBuilder()
The last time when the project declined or revoked the agreement to terms
of service.
|
String |
getId()
The unique identifier of this terms of service.
|
com.google.protobuf.ByteString |
getIdBytes()
The unique identifier of this terms of service.
|
Project.ServiceTerms.State |
getState()
Whether the project has accepted/rejected the service terms or it is
still pending.
|
int |
getStateValue()
Whether the project has accepted/rejected the service terms or it is
still pending.
|
String |
getVersion()
The version string of the terms of service.
|
com.google.protobuf.ByteString |
getVersionBytes()
The version string of the terms of service.
|
boolean |
hasAcceptTime()
The last time when the project agreed to the terms of service.
|
boolean |
hasDeclineTime()
The last time when the project declined or revoked the agreement to terms
of service.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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;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;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;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;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;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;boolean hasAcceptTime()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;com.google.protobuf.Timestamp getAcceptTime()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;com.google.protobuf.TimestampOrBuilder getAcceptTimeOrBuilder()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;boolean hasDeclineTime()
The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;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;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;Copyright © 2025 Google LLC. All rights reserved.