Class CreateBackendAuthenticationConfigRequest.Builder (0.94.0)

public static final class CreateBackendAuthenticationConfigRequest.Builder extends GeneratedMessage.Builder<CreateBackendAuthenticationConfigRequest.Builder> implements CreateBackendAuthenticationConfigRequestOrBuilder

Request used by the CreateBackendAuthenticationConfig method.

Protobuf type google.cloud.networksecurity.v1.CreateBackendAuthenticationConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateBackendAuthenticationConfigRequest build()
Returns
Type Description
CreateBackendAuthenticationConfigRequest

buildPartial()

public CreateBackendAuthenticationConfigRequest buildPartial()
Returns
Type Description
CreateBackendAuthenticationConfigRequest

clear()

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

clearBackendAuthenticationConfig()

public CreateBackendAuthenticationConfigRequest.Builder clearBackendAuthenticationConfig()

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

clearBackendAuthenticationConfigId()

public CreateBackendAuthenticationConfigRequest.Builder clearBackendAuthenticationConfigId()

Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config".

string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

This builder for chaining.

clearParent()

public CreateBackendAuthenticationConfigRequest.Builder clearParent()

Required. The parent resource of the BackendAuthenticationConfig. Must be in the format projects/*/locations/{location}.

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

Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

This builder for chaining.

getBackendAuthenticationConfig()

public BackendAuthenticationConfig getBackendAuthenticationConfig()

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackendAuthenticationConfig

The backendAuthenticationConfig.

getBackendAuthenticationConfigBuilder()

public BackendAuthenticationConfig.Builder getBackendAuthenticationConfigBuilder()

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackendAuthenticationConfig.Builder

getBackendAuthenticationConfigId()

public String getBackendAuthenticationConfigId()

Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config".

string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The backendAuthenticationConfigId.

getBackendAuthenticationConfigIdBytes()

public ByteString getBackendAuthenticationConfigIdBytes()

Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config".

string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for backendAuthenticationConfigId.

getBackendAuthenticationConfigOrBuilder()

public BackendAuthenticationConfigOrBuilder getBackendAuthenticationConfigOrBuilder()

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackendAuthenticationConfigOrBuilder

getDefaultInstanceForType()

public CreateBackendAuthenticationConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateBackendAuthenticationConfigRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource of the BackendAuthenticationConfig. Must be in the format projects/*/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 parent resource of the BackendAuthenticationConfig. Must be in the format projects/*/locations/{location}.

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

Returns
Type Description
ByteString

The bytes for parent.

hasBackendAuthenticationConfig()

public boolean hasBackendAuthenticationConfig()

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backendAuthenticationConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackendAuthenticationConfig(BackendAuthenticationConfig value)

public CreateBackendAuthenticationConfigRequest.Builder mergeBackendAuthenticationConfig(BackendAuthenticationConfig value)

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BackendAuthenticationConfig
Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

mergeFrom(CreateBackendAuthenticationConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBackendAuthenticationConfig(BackendAuthenticationConfig value)

public CreateBackendAuthenticationConfigRequest.Builder setBackendAuthenticationConfig(BackendAuthenticationConfig value)

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BackendAuthenticationConfig
Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

setBackendAuthenticationConfig(BackendAuthenticationConfig.Builder builderForValue)

public CreateBackendAuthenticationConfigRequest.Builder setBackendAuthenticationConfig(BackendAuthenticationConfig.Builder builderForValue)

Required. BackendAuthenticationConfig resource to be created.

.google.cloud.networksecurity.v1.BackendAuthenticationConfig backend_authentication_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BackendAuthenticationConfig.Builder
Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

setBackendAuthenticationConfigId(String value)

public CreateBackendAuthenticationConfigRequest.Builder setBackendAuthenticationConfigId(String value)

Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config".

string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The backendAuthenticationConfigId to set.

Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

This builder for chaining.

setBackendAuthenticationConfigIdBytes(ByteString value)

public CreateBackendAuthenticationConfigRequest.Builder setBackendAuthenticationConfigIdBytes(ByteString value)

Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config".

string backend_authentication_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for backendAuthenticationConfigId to set.

Returns
Type Description
CreateBackendAuthenticationConfigRequest.Builder

This builder for chaining.

setParent(String value)

public CreateBackendAuthenticationConfigRequest.Builder setParent(String value)

Required. The parent resource of the BackendAuthenticationConfig. Must be in the format projects/*/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
CreateBackendAuthenticationConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateBackendAuthenticationConfigRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the BackendAuthenticationConfig. Must be in the format projects/*/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
CreateBackendAuthenticationConfigRequest.Builder

This builder for chaining.