Class TargetSite
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1beta.TargetSite
- All Implemented Interfaces:
TargetSiteOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TargetSite
extends com.google.protobuf.GeneratedMessage
implements TargetSiteOrBuilder
A target site for the SiteSearchEngine.Protobuf type
google.cloud.discoveryengine.v1beta.TargetSite- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA target site for the SiteSearchEngine.static final classSite search indexing failure reasons.static interfacestatic enumTarget site indexing status enumeration.static enumPossible target site types.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TargetSitestatic final com.google.protobuf.Descriptors.DescriptorbooleanInput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<TargetSite>Required.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.Output only.getType()The type of the target site, e.g., whether the site is to be included or excluded.intThe type of the target site, e.g., whether the site is to be included or excluded.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic TargetSite.Builderstatic TargetSite.BuildernewBuilder(TargetSite prototype) protected TargetSite.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TargetSiteparseDelimitedFrom(InputStream input) static TargetSiteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetSiteparseFrom(byte[] data) static TargetSiteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetSiteparseFrom(com.google.protobuf.ByteString data) static TargetSiteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetSiteparseFrom(com.google.protobuf.CodedInputStream input) static TargetSiteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetSiteparseFrom(InputStream input) static TargetSiteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TargetSiteparseFrom(ByteBuffer data) static TargetSiteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TargetSite>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PROVIDED_URI_PATTERN_FIELD_NUMBER
public static final int PROVIDED_URI_PATTERN_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
EXACT_MATCH_FIELD_NUMBER
public static final int EXACT_MATCH_FIELD_NUMBER- See Also:
-
GENERATED_URI_PATTERN_FIELD_NUMBER
public static final int GENERATED_URI_PATTERN_FIELD_NUMBER- See Also:
-
ROOT_DOMAIN_URI_FIELD_NUMBER
public static final int ROOT_DOMAIN_URI_FIELD_NUMBER- See Also:
-
SITE_VERIFICATION_INFO_FIELD_NUMBER
public static final int SITE_VERIFICATION_INFO_FIELD_NUMBER- See Also:
-
INDEXING_STATUS_FIELD_NUMBER
public static final int INDEXING_STATUS_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceTargetSiteOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceTargetSiteOrBuilder- Returns:
- The bytes for name.
-
getProvidedUriPattern
Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.
string provided_uri_pattern = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getProvidedUriPatternin interfaceTargetSiteOrBuilder- Returns:
- The providedUriPattern.
-
getProvidedUriPatternBytes
public com.google.protobuf.ByteString getProvidedUriPatternBytes()Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.
string provided_uri_pattern = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getProvidedUriPatternBytesin interfaceTargetSiteOrBuilder- Returns:
- The bytes for providedUriPattern.
-
getTypeValue
public int getTypeValue()The type of the target site, e.g., whether the site is to be included or excluded.
.google.cloud.discoveryengine.v1beta.TargetSite.Type type = 3;- Specified by:
getTypeValuein interfaceTargetSiteOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
The type of the target site, e.g., whether the site is to be included or excluded.
.google.cloud.discoveryengine.v1beta.TargetSite.Type type = 3;- Specified by:
getTypein interfaceTargetSiteOrBuilder- Returns:
- The type.
-
getExactMatch
public boolean getExactMatch()Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
bool exact_match = 6 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getExactMatchin interfaceTargetSiteOrBuilder- Returns:
- The exactMatch.
-
getGeneratedUriPattern
Output only. This is system-generated based on the provided_uri_pattern.
string generated_uri_pattern = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGeneratedUriPatternin interfaceTargetSiteOrBuilder- Returns:
- The generatedUriPattern.
-
getGeneratedUriPatternBytes
public com.google.protobuf.ByteString getGeneratedUriPatternBytes()Output only. This is system-generated based on the provided_uri_pattern.
string generated_uri_pattern = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGeneratedUriPatternBytesin interfaceTargetSiteOrBuilder- Returns:
- The bytes for generatedUriPattern.
-
getRootDomainUri
Output only. Root domain of the provided_uri_pattern.
string root_domain_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootDomainUriin interfaceTargetSiteOrBuilder- Returns:
- The rootDomainUri.
-
getRootDomainUriBytes
public com.google.protobuf.ByteString getRootDomainUriBytes()Output only. Root domain of the provided_uri_pattern.
string root_domain_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootDomainUriBytesin interfaceTargetSiteOrBuilder- Returns:
- The bytes for rootDomainUri.
-
hasSiteVerificationInfo
public boolean hasSiteVerificationInfo()Output only. Site ownership and validity verification status.
.google.cloud.discoveryengine.v1beta.SiteVerificationInfo site_verification_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSiteVerificationInfoin interfaceTargetSiteOrBuilder- Returns:
- Whether the siteVerificationInfo field is set.
-
getSiteVerificationInfo
Output only. Site ownership and validity verification status.
.google.cloud.discoveryengine.v1beta.SiteVerificationInfo site_verification_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSiteVerificationInfoin interfaceTargetSiteOrBuilder- Returns:
- The siteVerificationInfo.
-
getSiteVerificationInfoOrBuilder
Output only. Site ownership and validity verification status.
.google.cloud.discoveryengine.v1beta.SiteVerificationInfo site_verification_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSiteVerificationInfoOrBuilderin interfaceTargetSiteOrBuilder
-
getIndexingStatusValue
public int getIndexingStatusValue()Output only. Indexing status.
.google.cloud.discoveryengine.v1beta.TargetSite.IndexingStatus indexing_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIndexingStatusValuein interfaceTargetSiteOrBuilder- Returns:
- The enum numeric value on the wire for indexingStatus.
-
getIndexingStatus
Output only. Indexing status.
.google.cloud.discoveryengine.v1beta.TargetSite.IndexingStatus indexing_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIndexingStatusin interfaceTargetSiteOrBuilder- Returns:
- The indexingStatus.
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The target site's last updated time.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTargetSiteOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The target site's last updated time.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTargetSiteOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The target site's last updated time.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTargetSiteOrBuilder
-
hasFailureReason
public boolean hasFailureReason()Output only. Failure reason.
.google.cloud.discoveryengine.v1beta.TargetSite.FailureReason failure_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFailureReasonin interfaceTargetSiteOrBuilder- Returns:
- Whether the failureReason field is set.
-
getFailureReason
Output only. Failure reason.
.google.cloud.discoveryengine.v1beta.TargetSite.FailureReason failure_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureReasonin interfaceTargetSiteOrBuilder- Returns:
- The failureReason.
-
getFailureReasonOrBuilder
Output only. Failure reason.
.google.cloud.discoveryengine.v1beta.TargetSite.FailureReason failure_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureReasonOrBuilderin interfaceTargetSiteOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TargetSite parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetSite parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetSite parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetSite parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetSite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetSite parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TargetSite parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TargetSite parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TargetSite parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TargetSite.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-