- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class PageInfo.Builder extends GeneratedMessageV3.Builder<PageInfo.Builder> implements PageInfoOrBuilder
Detailed page information.
Protobuf type google.cloud.discoveryengine.v1beta.PageInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PageInfo.BuilderImplements
PageInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PageInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PageInfo.Builder |
build()
public PageInfo build()
Type | Description |
PageInfo |
buildPartial()
public PageInfo buildPartial()
Type | Description |
PageInfo |
clear()
public PageInfo.Builder clear()
Type | Description |
PageInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public PageInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PageInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PageInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PageInfo.Builder |
clearPageCategory()
public PageInfo.Builder clearPageCategory()
The most specific category associated with a category page.
To represent full path of category, use '>' sign to separate different
hierarchies. If '>' is part of the category name, please replace it with
other character(s).
Category pages include special pages such as sales or promotions. For
instance, a special sale page may have the category hierarchy:
"pageCategory" : "Sales > 2017 Black Friday Deals".
Required for view-category-page
events. Other event types should not set
this field. Otherwise, an INVALID_ARGUMENT error is returned.
string page_category = 2;
Type | Description |
PageInfo.Builder | This builder for chaining. |
clearPageviewId()
public PageInfo.Builder clearPageviewId()
A unique ID of a web page view.
This should be kept the same for all user events triggered from the same
pageview. For example, an item detail page view could trigger multiple
events as the user is browsing the page. The pageViewId
property should
be kept the same for all these events so that they can be grouped together
properly.
When using the client side event reporting with JavaScript pixel and Google
Tag Manager, this value is filled in automatically.
string pageview_id = 1;
Type | Description |
PageInfo.Builder | This builder for chaining. |
clearReferrerUri()
public PageInfo.Builder clearReferrerUri()
The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some browser privacy restrictions may cause this field to be empty.
string referrer_uri = 4;
Type | Description |
PageInfo.Builder | This builder for chaining. |
clearUri()
public PageInfo.Builder clearUri()
Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.
string uri = 3;
Type | Description |
PageInfo.Builder | This builder for chaining. |
clone()
public PageInfo.Builder clone()
Type | Description |
PageInfo.Builder |
getDefaultInstanceForType()
public PageInfo getDefaultInstanceForType()
Type | Description |
PageInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPageCategory()
public String getPageCategory()
The most specific category associated with a category page.
To represent full path of category, use '>' sign to separate different
hierarchies. If '>' is part of the category name, please replace it with
other character(s).
Category pages include special pages such as sales or promotions. For
instance, a special sale page may have the category hierarchy:
"pageCategory" : "Sales > 2017 Black Friday Deals".
Required for view-category-page
events. Other event types should not set
this field. Otherwise, an INVALID_ARGUMENT error is returned.
string page_category = 2;
Type | Description |
String | The pageCategory. |
getPageCategoryBytes()
public ByteString getPageCategoryBytes()
The most specific category associated with a category page.
To represent full path of category, use '>' sign to separate different
hierarchies. If '>' is part of the category name, please replace it with
other character(s).
Category pages include special pages such as sales or promotions. For
instance, a special sale page may have the category hierarchy:
"pageCategory" : "Sales > 2017 Black Friday Deals".
Required for view-category-page
events. Other event types should not set
this field. Otherwise, an INVALID_ARGUMENT error is returned.
string page_category = 2;
Type | Description |
ByteString | The bytes for pageCategory. |
getPageviewId()
public String getPageviewId()
A unique ID of a web page view.
This should be kept the same for all user events triggered from the same
pageview. For example, an item detail page view could trigger multiple
events as the user is browsing the page. The pageViewId
property should
be kept the same for all these events so that they can be grouped together
properly.
When using the client side event reporting with JavaScript pixel and Google
Tag Manager, this value is filled in automatically.
string pageview_id = 1;
Type | Description |
String | The pageviewId. |
getPageviewIdBytes()
public ByteString getPageviewIdBytes()
A unique ID of a web page view.
This should be kept the same for all user events triggered from the same
pageview. For example, an item detail page view could trigger multiple
events as the user is browsing the page. The pageViewId
property should
be kept the same for all these events so that they can be grouped together
properly.
When using the client side event reporting with JavaScript pixel and Google
Tag Manager, this value is filled in automatically.
string pageview_id = 1;
Type | Description |
ByteString | The bytes for pageviewId. |
getReferrerUri()
public String getReferrerUri()
The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some browser privacy restrictions may cause this field to be empty.
string referrer_uri = 4;
Type | Description |
String | The referrerUri. |
getReferrerUriBytes()
public ByteString getReferrerUriBytes()
The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some browser privacy restrictions may cause this field to be empty.
string referrer_uri = 4;
Type | Description |
ByteString | The bytes for referrerUri. |
getUri()
public String getUri()
Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.
string uri = 3;
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.
string uri = 3;
Type | Description |
ByteString | The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PageInfo other)
public PageInfo.Builder mergeFrom(PageInfo other)
Name | Description |
other | PageInfo |
Type | Description |
PageInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PageInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PageInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PageInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PageInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PageInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PageInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PageInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PageInfo.Builder |
setPageCategory(String value)
public PageInfo.Builder setPageCategory(String value)
The most specific category associated with a category page.
To represent full path of category, use '>' sign to separate different
hierarchies. If '>' is part of the category name, please replace it with
other character(s).
Category pages include special pages such as sales or promotions. For
instance, a special sale page may have the category hierarchy:
"pageCategory" : "Sales > 2017 Black Friday Deals".
Required for view-category-page
events. Other event types should not set
this field. Otherwise, an INVALID_ARGUMENT error is returned.
string page_category = 2;
Name | Description |
value | String The pageCategory to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |
setPageCategoryBytes(ByteString value)
public PageInfo.Builder setPageCategoryBytes(ByteString value)
The most specific category associated with a category page.
To represent full path of category, use '>' sign to separate different
hierarchies. If '>' is part of the category name, please replace it with
other character(s).
Category pages include special pages such as sales or promotions. For
instance, a special sale page may have the category hierarchy:
"pageCategory" : "Sales > 2017 Black Friday Deals".
Required for view-category-page
events. Other event types should not set
this field. Otherwise, an INVALID_ARGUMENT error is returned.
string page_category = 2;
Name | Description |
value | ByteString The bytes for pageCategory to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |
setPageviewId(String value)
public PageInfo.Builder setPageviewId(String value)
A unique ID of a web page view.
This should be kept the same for all user events triggered from the same
pageview. For example, an item detail page view could trigger multiple
events as the user is browsing the page. The pageViewId
property should
be kept the same for all these events so that they can be grouped together
properly.
When using the client side event reporting with JavaScript pixel and Google
Tag Manager, this value is filled in automatically.
string pageview_id = 1;
Name | Description |
value | String The pageviewId to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |
setPageviewIdBytes(ByteString value)
public PageInfo.Builder setPageviewIdBytes(ByteString value)
A unique ID of a web page view.
This should be kept the same for all user events triggered from the same
pageview. For example, an item detail page view could trigger multiple
events as the user is browsing the page. The pageViewId
property should
be kept the same for all these events so that they can be grouped together
properly.
When using the client side event reporting with JavaScript pixel and Google
Tag Manager, this value is filled in automatically.
string pageview_id = 1;
Name | Description |
value | ByteString The bytes for pageviewId to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |
setReferrerUri(String value)
public PageInfo.Builder setReferrerUri(String value)
The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some browser privacy restrictions may cause this field to be empty.
string referrer_uri = 4;
Name | Description |
value | String The referrerUri to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |
setReferrerUriBytes(ByteString value)
public PageInfo.Builder setReferrerUriBytes(ByteString value)
The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some browser privacy restrictions may cause this field to be empty.
string referrer_uri = 4;
Name | Description |
value | ByteString The bytes for referrerUri to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PageInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PageInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PageInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PageInfo.Builder |
setUri(String value)
public PageInfo.Builder setUri(String value)
Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.
string uri = 3;
Name | Description |
value | String The uri to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public PageInfo.Builder setUriBytes(ByteString value)
Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.
string uri = 3;
Name | Description |
value | ByteString The bytes for uri to set. |
Type | Description |
PageInfo.Builder | This builder for chaining. |