Class EnableAuthProviderRequest.Builder (0.1.0)

public static final class EnableAuthProviderRequest.Builder extends GeneratedMessage.Builder<EnableAuthProviderRequest.Builder> implements EnableAuthProviderRequestOrBuilder

Message for enabling an AuthProvider

Protobuf type google.cloud.agentidentity.v1.EnableAuthProviderRequest

Static Methods

getDescriptor()

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

Methods

build()

public EnableAuthProviderRequest build()
Returns
Type Description
EnableAuthProviderRequest

buildPartial()

public EnableAuthProviderRequest buildPartial()
Returns
Type Description
EnableAuthProviderRequest

clear()

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

clearName()

public EnableAuthProviderRequest.Builder clearName()

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Returns
Type Description
EnableAuthProviderRequest.Builder

This builder for chaining.

clearRequestId()

public EnableAuthProviderRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
EnableAuthProviderRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public EnableAuthProviderRequest getDefaultInstanceForType()
Returns
Type Description
EnableAuthProviderRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Returns
Type Description
ByteString

The bytes for name.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EnableAuthProviderRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public EnableAuthProviderRequest.Builder setName(String value)

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EnableAuthProviderRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EnableAuthProviderRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EnableAuthProviderRequest.Builder

This builder for chaining.

setRequestId(String value)

public EnableAuthProviderRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
EnableAuthProviderRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public EnableAuthProviderRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
EnableAuthProviderRequest.Builder

This builder for chaining.