Class CreateCdnKeyRequest.Builder (0.49.0)

public static final class CreateCdnKeyRequest.Builder extends GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder> implements CreateCdnKeyRequestOrBuilder

Request message for VideoStitcherService.createCdnKey.

Protobuf type google.cloud.video.stitcher.v1.CreateCdnKeyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateCdnKeyRequest build()
Returns
Type Description
CreateCdnKeyRequest

buildPartial()

public CreateCdnKeyRequest buildPartial()
Returns
Type Description
CreateCdnKeyRequest

clear()

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

clearCdnKey()

public CreateCdnKeyRequest.Builder clearCdnKey()

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCdnKeyRequest.Builder

clearCdnKeyId()

public CreateCdnKeyRequest.Builder clearCdnKeyId()

Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name.

This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCdnKeyRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateCdnKeyRequest.Builder clearParent()

Required. The project in which the CDN key should be created, in the form of projects/{project_number}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateCdnKeyRequest.Builder

This builder for chaining.

clone()

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

getCdnKey()

public CdnKey getCdnKey()

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CdnKey

The cdnKey.

getCdnKeyBuilder()

public CdnKey.Builder getCdnKeyBuilder()

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CdnKey.Builder

getCdnKeyId()

public String getCdnKeyId()

Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name.

This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The cdnKeyId.

getCdnKeyIdBytes()

public ByteString getCdnKeyIdBytes()

Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name.

This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for cdnKeyId.

getCdnKeyOrBuilder()

public CdnKeyOrBuilder getCdnKeyOrBuilder()

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CdnKeyOrBuilder

getDefaultInstanceForType()

public CreateCdnKeyRequest getDefaultInstanceForType()
Returns
Type Description
CreateCdnKeyRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The project in which the CDN key should be created, in the form of projects/{project_number}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project in which the CDN key should be created, in the form of projects/{project_number}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasCdnKey()

public boolean hasCdnKey()

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cdnKey field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCdnKey(CdnKey value)

public CreateCdnKeyRequest.Builder mergeCdnKey(CdnKey value)

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CdnKey
Returns
Type Description
CreateCdnKeyRequest.Builder

mergeFrom(CreateCdnKeyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCdnKey(CdnKey value)

public CreateCdnKeyRequest.Builder setCdnKey(CdnKey value)

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CdnKey
Returns
Type Description
CreateCdnKeyRequest.Builder

setCdnKey(CdnKey.Builder builderForValue)

public CreateCdnKeyRequest.Builder setCdnKey(CdnKey.Builder builderForValue)

Required. The CDN key resource to create.

.google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CdnKey.Builder
Returns
Type Description
CreateCdnKeyRequest.Builder

setCdnKeyId(String value)

public CreateCdnKeyRequest.Builder setCdnKeyId(String value)

Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name.

This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The cdnKeyId to set.

Returns
Type Description
CreateCdnKeyRequest.Builder

This builder for chaining.

setCdnKeyIdBytes(ByteString value)

public CreateCdnKeyRequest.Builder setCdnKeyIdBytes(ByteString value)

Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name.

This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for cdnKeyId to set.

Returns
Type Description
CreateCdnKeyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateCdnKeyRequest.Builder setParent(String value)

Required. The project in which the CDN key should be created, in the form of projects/{project_number}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateCdnKeyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateCdnKeyRequest.Builder setParentBytes(ByteString value)

Required. The project in which the CDN key should be created, in the form of projects/{project_number}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateCdnKeyRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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