Class Webhook.GenericWebService.SecretVersionHeaderValue.Builder (0.94.0)

public static final class Webhook.GenericWebService.SecretVersionHeaderValue.Builder extends GeneratedMessage.Builder<Webhook.GenericWebService.SecretVersionHeaderValue.Builder> implements Webhook.GenericWebService.SecretVersionHeaderValueOrBuilder

Represents the value of an HTTP header stored in a SecretManager secret version.

Protobuf type google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.SecretVersionHeaderValue

Static Methods

getDescriptor()

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

Methods

build()

public Webhook.GenericWebService.SecretVersionHeaderValue build()
Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue

buildPartial()

public Webhook.GenericWebService.SecretVersionHeaderValue buildPartial()
Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue

clear()

public Webhook.GenericWebService.SecretVersionHeaderValue.Builder clear()
Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue.Builder
Overrides

clearSecretVersion()

public Webhook.GenericWebService.SecretVersionHeaderValue.Builder clearSecretVersion()

Required. The SecretManager secret version resource storing the header value. Format: projects/{project}/secrets/{secret}/versions/{version}

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

Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue.Builder

This builder for chaining.

getDefaultInstanceForType()

public Webhook.GenericWebService.SecretVersionHeaderValue getDefaultInstanceForType()
Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue

getDescriptorForType()

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

getSecretVersion()

public String getSecretVersion()

Required. The SecretManager secret version resource storing the header value. Format: projects/{project}/secrets/{secret}/versions/{version}

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

Returns
Type Description
String

The secretVersion.

getSecretVersionBytes()

public ByteString getSecretVersionBytes()

Required. The SecretManager secret version resource storing the header value. Format: projects/{project}/secrets/{secret}/versions/{version}

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

Returns
Type Description
ByteString

The bytes for secretVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Webhook.GenericWebService.SecretVersionHeaderValue other)

public Webhook.GenericWebService.SecretVersionHeaderValue.Builder mergeFrom(Webhook.GenericWebService.SecretVersionHeaderValue other)
Parameter
Name Description
other Webhook.GenericWebService.SecretVersionHeaderValue
Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Webhook.GenericWebService.SecretVersionHeaderValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue.Builder
Overrides

setSecretVersion(String value)

public Webhook.GenericWebService.SecretVersionHeaderValue.Builder setSecretVersion(String value)

Required. The SecretManager secret version resource storing the header value. Format: projects/{project}/secrets/{secret}/versions/{version}

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

Parameter
Name Description
value String

The secretVersion to set.

Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue.Builder

This builder for chaining.

setSecretVersionBytes(ByteString value)

public Webhook.GenericWebService.SecretVersionHeaderValue.Builder setSecretVersionBytes(ByteString value)

Required. The SecretManager secret version resource storing the header value. Format: projects/{project}/secrets/{secret}/versions/{version}

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

Parameter
Name Description
value ByteString

The bytes for secretVersion to set.

Returns
Type Description
Webhook.GenericWebService.SecretVersionHeaderValue.Builder

This builder for chaining.