public static final class UiEvent.Builder extends GeneratedMessage.Builder<UiEvent.Builder> implements UiEventOrBuilderRepresents a UI event payload.
Protobuf type google.cloud.ces.v1beta.UiEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UiEvent.BuilderImplements
UiEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UiEvent build()| Returns | |
|---|---|
| Type | Description |
UiEvent |
|
buildPartial()
public UiEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
UiEvent |
|
clear()
public UiEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
|
clearJsonPayload()
public UiEvent.Builder clearJsonPayload()The JSON payload representing the A2UI surface.
string json_payload = 2;
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
This builder for chaining. |
clearMimeType()
public UiEvent.Builder clearMimeType()The media type (MIME type) indicating the format of the UI event payload (e.g., "application/json+a2ui").
string mime_type = 1;
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UiEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UiEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJsonPayload()
public String getJsonPayload()The JSON payload representing the A2UI surface.
string json_payload = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The jsonPayload. |
getJsonPayloadBytes()
public ByteString getJsonPayloadBytes()The JSON payload representing the A2UI surface.
string json_payload = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for jsonPayload. |
getMimeType()
public String getMimeType()The media type (MIME type) indicating the format of the UI event payload (e.g., "application/json+a2ui").
string mime_type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public ByteString getMimeTypeBytes()The media type (MIME type) indicating the format of the UI event payload (e.g., "application/json+a2ui").
string mime_type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UiEvent other)
public UiEvent.Builder mergeFrom(UiEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
UiEvent |
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UiEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UiEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
|
setJsonPayload(String value)
public UiEvent.Builder setJsonPayload(String value)The JSON payload representing the A2UI surface.
string json_payload = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe jsonPayload to set. |
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
This builder for chaining. |
setJsonPayloadBytes(ByteString value)
public UiEvent.Builder setJsonPayloadBytes(ByteString value)The JSON payload representing the A2UI surface.
string json_payload = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for jsonPayload to set. |
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
This builder for chaining. |
setMimeType(String value)
public UiEvent.Builder setMimeType(String value)The media type (MIME type) indicating the format of the UI event payload (e.g., "application/json+a2ui").
string mime_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
This builder for chaining. |
setMimeTypeBytes(ByteString value)
public UiEvent.Builder setMimeTypeBytes(ByteString value)The media type (MIME type) indicating the format of the UI event payload (e.g., "application/json+a2ui").
string mime_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
UiEvent.Builder |
This builder for chaining. |