Class GenerateStreamHlsTokenRequest.Builder (0.8.0)

public static final class GenerateStreamHlsTokenRequest.Builder extends GeneratedMessageV3.Builder<GenerateStreamHlsTokenRequest.Builder> implements GenerateStreamHlsTokenRequestOrBuilder

Request message for getting the auth token to access the stream HLS contents.

Protobuf type google.cloud.visionai.v1.GenerateStreamHlsTokenRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateStreamHlsTokenRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides

build()

public GenerateStreamHlsTokenRequest build()
Returns
Type Description
GenerateStreamHlsTokenRequest

buildPartial()

public GenerateStreamHlsTokenRequest buildPartial()
Returns
Type Description
GenerateStreamHlsTokenRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GenerateStreamHlsTokenRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateStreamHlsTokenRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides

clearStream()

public GenerateStreamHlsTokenRequest.Builder clearStream()

Required. The name of the stream.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateStreamHlsTokenRequest.Builder

This builder for chaining.

clone()

public GenerateStreamHlsTokenRequest.Builder clone()
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides

getDefaultInstanceForType()

public GenerateStreamHlsTokenRequest getDefaultInstanceForType()
Returns
Type Description
GenerateStreamHlsTokenRequest

getDescriptorForType()

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

getStream()

public String getStream()

Required. The name of the stream.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The stream.

getStreamBytes()

public ByteString getStreamBytes()

Required. The name of the stream.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for stream.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateStreamHlsTokenRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateStreamHlsTokenRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateStreamHlsTokenRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateStreamHlsTokenRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides

setStream(String value)

public GenerateStreamHlsTokenRequest.Builder setStream(String value)

Required. The name of the stream.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The stream to set.

Returns
Type Description
GenerateStreamHlsTokenRequest.Builder

This builder for chaining.

setStreamBytes(ByteString value)

public GenerateStreamHlsTokenRequest.Builder setStreamBytes(ByteString value)

Required. The name of the stream.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for stream to set.

Returns
Type Description
GenerateStreamHlsTokenRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateStreamHlsTokenRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateStreamHlsTokenRequest.Builder
Overrides