public static final class Project.ServiceTerms extends com.google.protobuf.GeneratedMessageV3 implements Project.ServiceTermsOrBuilder
Metadata about the terms of service.Protobuf type
google.cloud.discoveryengine.v1alpha.Project.ServiceTerms| Modifier and Type | Class and Description |
|---|---|
static class |
Project.ServiceTerms.Builder
Metadata about the terms of service.
|
static class |
Project.ServiceTerms.State
The agreement states this terms of service.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPT_TIME_FIELD_NUMBER |
static int |
DECLINE_TIME_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static Project.ServiceTerms |
getDefaultInstance() |
Project.ServiceTerms |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getId()
The unique identifier of this terms of service.
|
com.google.protobuf.ByteString |
getIdBytes()
The unique identifier of this terms of service.
|
com.google.protobuf.Parser<Project.ServiceTerms> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Project.ServiceTerms.Builder |
newBuilder() |
static Project.ServiceTerms.Builder |
newBuilder(Project.ServiceTerms prototype) |
Project.ServiceTerms.Builder |
newBuilderForType() |
protected Project.ServiceTerms.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Project.ServiceTerms |
parseDelimitedFrom(InputStream input) |
static Project.ServiceTerms |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Project.ServiceTerms |
parseFrom(byte[] data) |
static Project.ServiceTerms |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Project.ServiceTerms |
parseFrom(ByteBuffer data) |
static Project.ServiceTerms |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Project.ServiceTerms |
parseFrom(com.google.protobuf.ByteString data) |
static Project.ServiceTerms |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Project.ServiceTerms |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Project.ServiceTerms |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Project.ServiceTerms |
parseFrom(InputStream input) |
static Project.ServiceTerms |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Project.ServiceTerms> |
parser() |
Project.ServiceTerms.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ACCEPT_TIME_FIELD_NUMBER
public static final int DECLINE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.v1alpha.Project.ServiceTerms.version] to provide is `2022-11-23`.
string id = 1;getId in interface Project.ServiceTermsOrBuilderpublic 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.v1alpha.Project.ServiceTerms.version] to provide is `2022-11-23`.
string id = 1;getIdBytes in interface Project.ServiceTermsOrBuilderpublic String getVersion()
The version string of the terms of service. For acceptable values, see the comments for [id][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.id] above.
string version = 2;getVersion in interface Project.ServiceTermsOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
The version string of the terms of service. For acceptable values, see the comments for [id][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.id] above.
string version = 2;getVersionBytes in interface Project.ServiceTermsOrBuilderpublic int getStateValue()
Whether the project has accepted/rejected the service terms or it is still pending.
.google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;getStateValue in interface Project.ServiceTermsOrBuilderpublic Project.ServiceTerms.State getState()
Whether the project has accepted/rejected the service terms or it is still pending.
.google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;getState in interface Project.ServiceTermsOrBuilderpublic boolean hasAcceptTime()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;hasAcceptTime in interface Project.ServiceTermsOrBuilderpublic com.google.protobuf.Timestamp getAcceptTime()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;getAcceptTime in interface Project.ServiceTermsOrBuilderpublic com.google.protobuf.TimestampOrBuilder getAcceptTimeOrBuilder()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;getAcceptTimeOrBuilder in interface Project.ServiceTermsOrBuilderpublic boolean hasDeclineTime()
The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;hasDeclineTime in interface Project.ServiceTermsOrBuilderpublic 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;getDeclineTime in interface Project.ServiceTermsOrBuilderpublic 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;getDeclineTimeOrBuilder in interface Project.ServiceTermsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Project.ServiceTerms parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Project.ServiceTerms parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Project.ServiceTerms parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Project.ServiceTerms parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Project.ServiceTerms parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Project.ServiceTerms parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Project.ServiceTerms parseFrom(InputStream input) throws IOException
IOExceptionpublic static Project.ServiceTerms parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Project.ServiceTerms parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Project.ServiceTerms parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Project.ServiceTerms parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Project.ServiceTerms parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Project.ServiceTerms.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Project.ServiceTerms.Builder newBuilder()
public static Project.ServiceTerms.Builder newBuilder(Project.ServiceTerms prototype)
public Project.ServiceTerms.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Project.ServiceTerms.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Project.ServiceTerms getDefaultInstance()
public static com.google.protobuf.Parser<Project.ServiceTerms> parser()
public com.google.protobuf.Parser<Project.ServiceTerms> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Project.ServiceTerms getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.