Class MediaCdnKey.TokenConfig.Builder (0.45.0)

public static final class MediaCdnKey.TokenConfig.Builder extends GeneratedMessageV3.Builder<MediaCdnKey.TokenConfig.Builder> implements MediaCdnKey.TokenConfigOrBuilder

Configuration for a Media CDN token.

Protobuf type google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MediaCdnKey.TokenConfig build()
Returns
Type Description
MediaCdnKey.TokenConfig

buildPartial()

public MediaCdnKey.TokenConfig buildPartial()
Returns
Type Description
MediaCdnKey.TokenConfig

clear()

public MediaCdnKey.TokenConfig.Builder clear()
Returns
Type Description
MediaCdnKey.TokenConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQueryParameter()

public MediaCdnKey.TokenConfig.Builder clearQueryParameter()

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match the regular expression a-zA-Z* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

Defaults to edge-cache-token.

string query_parameter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaCdnKey.TokenConfig.Builder

This builder for chaining.

clone()

public MediaCdnKey.TokenConfig.Builder clone()
Returns
Type Description
MediaCdnKey.TokenConfig.Builder
Overrides

getDefaultInstanceForType()

public MediaCdnKey.TokenConfig getDefaultInstanceForType()
Returns
Type Description
MediaCdnKey.TokenConfig

getDescriptorForType()

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

getQueryParameter()

public String getQueryParameter()

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match the regular expression a-zA-Z* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

Defaults to edge-cache-token.

string query_parameter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The queryParameter.

getQueryParameterBytes()

public ByteString getQueryParameterBytes()

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match the regular expression a-zA-Z* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

Defaults to edge-cache-token.

string query_parameter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for queryParameter.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MediaCdnKey.TokenConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setQueryParameter(String value)

public MediaCdnKey.TokenConfig.Builder setQueryParameter(String value)

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match the regular expression a-zA-Z* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

Defaults to edge-cache-token.

string query_parameter = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The queryParameter to set.

Returns
Type Description
MediaCdnKey.TokenConfig.Builder

This builder for chaining.

setQueryParameterBytes(ByteString value)

public MediaCdnKey.TokenConfig.Builder setQueryParameterBytes(ByteString value)

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match the regular expression a-zA-Z* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

Defaults to edge-cache-token.

string query_parameter = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for queryParameter to set.

Returns
Type Description
MediaCdnKey.TokenConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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