Class PreviewInputResponse.Builder (0.85.0)

public static final class PreviewInputResponse.Builder extends GeneratedMessage.Builder<PreviewInputResponse.Builder> implements PreviewInputResponseOrBuilder

Response message for "LivestreamService.PreviewInput"

Protobuf type google.cloud.video.livestream.v1.PreviewInputResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PreviewInputResponse build()
Returns
Type Description
PreviewInputResponse

buildPartial()

public PreviewInputResponse buildPartial()
Returns
Type Description
PreviewInputResponse

clear()

public PreviewInputResponse.Builder clear()
Returns
Type Description
PreviewInputResponse.Builder
Overrides

clearBearerToken()

public PreviewInputResponse.Builder clearBearerToken()

A bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header.

string bearer_token = 2;

Returns
Type Description
PreviewInputResponse.Builder

This builder for chaining.

clearUri()

public PreviewInputResponse.Builder clearUri()

URI to display the preview content.

string uri = 1;

Returns
Type Description
PreviewInputResponse.Builder

This builder for chaining.

getBearerToken()

public String getBearerToken()

A bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header.

string bearer_token = 2;

Returns
Type Description
String

The bearerToken.

getBearerTokenBytes()

public ByteString getBearerTokenBytes()

A bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header.

string bearer_token = 2;

Returns
Type Description
ByteString

The bytes for bearerToken.

getDefaultInstanceForType()

public PreviewInputResponse getDefaultInstanceForType()
Returns
Type Description
PreviewInputResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUri()

public String getUri()

URI to display the preview content.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI to display the preview content.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreviewInputResponse other)

public PreviewInputResponse.Builder mergeFrom(PreviewInputResponse other)
Parameter
Name Description
other PreviewInputResponse
Returns
Type Description
PreviewInputResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreviewInputResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreviewInputResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PreviewInputResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PreviewInputResponse.Builder
Overrides

setBearerToken(String value)

public PreviewInputResponse.Builder setBearerToken(String value)

A bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header.

string bearer_token = 2;

Parameter
Name Description
value String

The bearerToken to set.

Returns
Type Description
PreviewInputResponse.Builder

This builder for chaining.

setBearerTokenBytes(ByteString value)

public PreviewInputResponse.Builder setBearerTokenBytes(ByteString value)

A bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header.

string bearer_token = 2;

Parameter
Name Description
value ByteString

The bytes for bearerToken to set.

Returns
Type Description
PreviewInputResponse.Builder

This builder for chaining.

setUri(String value)

public PreviewInputResponse.Builder setUri(String value)

URI to display the preview content.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
PreviewInputResponse.Builder

This builder for chaining.

setUriBytes(ByteString value)

public PreviewInputResponse.Builder setUriBytes(ByteString value)

URI to display the preview content.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
PreviewInputResponse.Builder

This builder for chaining.