public static final class Project.ServiceTerms.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder> implements Project.ServiceTermsOrBuilder
Metadata about the terms of service.Protobuf type
google.cloud.discoveryengine.v1alpha.Project.ServiceTerms| Modifier and Type | Method and Description |
|---|---|
Project.ServiceTerms.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Project.ServiceTerms |
build() |
Project.ServiceTerms |
buildPartial() |
Project.ServiceTerms.Builder |
clear() |
Project.ServiceTerms.Builder |
clearAcceptTime()
The last time when the project agreed to the terms of service.
|
Project.ServiceTerms.Builder |
clearDeclineTime()
The last time when the project declined or revoked the agreement to terms
of service.
|
Project.ServiceTerms.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Project.ServiceTerms.Builder |
clearId()
The unique identifier of this terms of service.
|
Project.ServiceTerms.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Project.ServiceTerms.Builder |
clearState()
Whether the project has accepted/rejected the service terms or it is
still pending.
|
Project.ServiceTerms.Builder |
clearVersion()
The version string of the terms of service.
|
Project.ServiceTerms.Builder |
clone() |
com.google.protobuf.Timestamp |
getAcceptTime()
The last time when the project agreed to the terms of service.
|
com.google.protobuf.Timestamp.Builder |
getAcceptTimeBuilder()
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.Timestamp.Builder |
getDeclineTimeBuilder()
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.
|
Project.ServiceTerms |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Project.ServiceTerms.Builder |
mergeAcceptTime(com.google.protobuf.Timestamp value)
The last time when the project agreed to the terms of service.
|
Project.ServiceTerms.Builder |
mergeDeclineTime(com.google.protobuf.Timestamp value)
The last time when the project declined or revoked the agreement to terms
of service.
|
Project.ServiceTerms.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Project.ServiceTerms.Builder |
mergeFrom(com.google.protobuf.Message other) |
Project.ServiceTerms.Builder |
mergeFrom(Project.ServiceTerms other) |
Project.ServiceTerms.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Project.ServiceTerms.Builder |
setAcceptTime(com.google.protobuf.Timestamp.Builder builderForValue)
The last time when the project agreed to the terms of service.
|
Project.ServiceTerms.Builder |
setAcceptTime(com.google.protobuf.Timestamp value)
The last time when the project agreed to the terms of service.
|
Project.ServiceTerms.Builder |
setDeclineTime(com.google.protobuf.Timestamp.Builder builderForValue)
The last time when the project declined or revoked the agreement to terms
of service.
|
Project.ServiceTerms.Builder |
setDeclineTime(com.google.protobuf.Timestamp value)
The last time when the project declined or revoked the agreement to terms
of service.
|
Project.ServiceTerms.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Project.ServiceTerms.Builder |
setId(String value)
The unique identifier of this terms of service.
|
Project.ServiceTerms.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The unique identifier of this terms of service.
|
Project.ServiceTerms.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Project.ServiceTerms.Builder |
setState(Project.ServiceTerms.State value)
Whether the project has accepted/rejected the service terms or it is
still pending.
|
Project.ServiceTerms.Builder |
setStateValue(int value)
Whether the project has accepted/rejected the service terms or it is
still pending.
|
Project.ServiceTerms.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Project.ServiceTerms.Builder |
setVersion(String value)
The version string of the terms of service.
|
Project.ServiceTerms.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
The version string of the terms of service.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Project.ServiceTerms build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Project.ServiceTerms buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Project.ServiceTerms.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder mergeFrom(Project.ServiceTerms other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public Project.ServiceTerms.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Project.ServiceTerms.Builder>IOExceptionpublic 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 Project.ServiceTerms.Builder setId(String value)
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;value - The id to set.public Project.ServiceTerms.Builder clearId()
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;public Project.ServiceTerms.Builder setIdBytes(com.google.protobuf.ByteString value)
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;value - The bytes for id to set.public 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 Project.ServiceTerms.Builder setVersion(String value)
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;value - The version to set.public Project.ServiceTerms.Builder clearVersion()
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;public Project.ServiceTerms.Builder setVersionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for version to set.public 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.Builder setStateValue(int value)
Whether the project has accepted/rejected the service terms or it is still pending.
.google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;value - The enum numeric value on the wire for state to set.public 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 Project.ServiceTerms.Builder setState(Project.ServiceTerms.State value)
Whether the project has accepted/rejected the service terms or it is still pending.
.google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;value - The state to set.public Project.ServiceTerms.Builder clearState()
Whether the project has accepted/rejected the service terms or it is still pending.
.google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;public 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 Project.ServiceTerms.Builder setAcceptTime(com.google.protobuf.Timestamp value)
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;public Project.ServiceTerms.Builder setAcceptTime(com.google.protobuf.Timestamp.Builder builderForValue)
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;public Project.ServiceTerms.Builder mergeAcceptTime(com.google.protobuf.Timestamp value)
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;public Project.ServiceTerms.Builder clearAcceptTime()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;public com.google.protobuf.Timestamp.Builder getAcceptTimeBuilder()
The last time when the project agreed to the terms of service.
.google.protobuf.Timestamp accept_time = 5;public 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 Project.ServiceTerms.Builder setDeclineTime(com.google.protobuf.Timestamp value)
The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;public Project.ServiceTerms.Builder setDeclineTime(com.google.protobuf.Timestamp.Builder builderForValue)
The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;public Project.ServiceTerms.Builder mergeDeclineTime(com.google.protobuf.Timestamp value)
The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;public Project.ServiceTerms.Builder clearDeclineTime()
The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;public com.google.protobuf.Timestamp.Builder getDeclineTimeBuilder()
The last time when the project declined or revoked the agreement to terms of service.
.google.protobuf.Timestamp decline_time = 6;public 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 Project.ServiceTerms.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>public final Project.ServiceTerms.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.ServiceTerms.Builder>Copyright © 2024 Google LLC. All rights reserved.