- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PageInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
build()
public PageInfo build()
Returns | |
---|---|
Type | Description |
PageInfo |
buildPartial()
public PageInfo buildPartial()
Returns | |
---|---|
Type | Description |
PageInfo |
clear()
public PageInfo.Builder clear()
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public PageInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PageInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PageInfo.Builder | This builder for chaining. |
clone()
public PageInfo.Builder clone()
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
getDefaultInstanceForType()
public PageInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PageInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PageInfo other)
public PageInfo.Builder mergeFrom(PageInfo other)
Parameter | |
---|---|
Name | Description |
other | PageInfo |
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PageInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PageInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PageInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PageInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The pageCategory to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageCategory to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The pageviewId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageviewId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The referrerUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for referrerUri to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PageInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PageInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The uri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
PageInfo.Builder | This builder for chaining. |