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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCdnKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateCdnKeyRequest build()
Returns
buildPartial()
public CreateCdnKeyRequest buildPartial()
Returns
clear()
public CreateCdnKeyRequest.Builder clear()
Returns
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
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
clearField(Descriptors.FieldDescriptor field)
public CreateCdnKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCdnKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateCdnKeyRequest.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public CreateCdnKeyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateCdnKeyRequest other)
public CreateCdnKeyRequest.Builder mergeFrom(CreateCdnKeyRequest other)
Parameter
Returns
public CreateCdnKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateCdnKeyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCdnKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCdnKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCdnKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCdnKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides