Class CreateCdnKeyRequest.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateCdnKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateCdnKeyRequest.Builder
Overrides

build()

public CreateCdnKeyRequest build()
Returns
TypeDescription
CreateCdnKeyRequest

buildPartial()

public CreateCdnKeyRequest buildPartial()
Returns
TypeDescription
CreateCdnKeyRequest

clear()

public CreateCdnKeyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateCdnKeyRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateCdnKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateCdnKeyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateCdnKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateCdnKeyRequest.Builder

This builder for chaining.

clone()

public CreateCdnKeyRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CdnKeyOrBuilder

getDefaultInstanceForType()

public CreateCdnKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateCdnKeyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the cdnKey field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCdnKey
Returns
TypeDescription
CreateCdnKeyRequest.Builder

mergeFrom(CreateCdnKeyRequest other)

public CreateCdnKeyRequest.Builder mergeFrom(CreateCdnKeyRequest other)
Parameter
NameDescription
otherCreateCdnKeyRequest
Returns
TypeDescription
CreateCdnKeyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateCdnKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateCdnKeyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateCdnKeyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateCdnKeyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCdnKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCdnKey
Returns
TypeDescription
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
NameDescription
builderForValueCdnKey.Builder
Returns
TypeDescription
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
NameDescription
valueString

The cdnKeyId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cdnKeyId to set.

Returns
TypeDescription
CreateCdnKeyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateCdnKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateCdnKeyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateCdnKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateCdnKeyRequest.Builder
Overrides