Class FetchCaCertsRequest.Builder (2.24.0)

public static final class FetchCaCertsRequest.Builder extends GeneratedMessageV3.Builder<FetchCaCertsRequest.Builder> implements FetchCaCertsRequestOrBuilder

Request message for CertificateAuthorityService.FetchCaCerts.

Protobuf type google.cloud.security.privateca.v1.FetchCaCertsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchCaCertsRequest build()
Returns
TypeDescription
FetchCaCertsRequest

buildPartial()

public FetchCaCertsRequest buildPartial()
Returns
TypeDescription
FetchCaCertsRequest

clear()

public FetchCaCertsRequest.Builder clear()
Returns
TypeDescription
FetchCaCertsRequest.Builder
Overrides

clearCaPool()

public FetchCaCertsRequest.Builder clearCaPool()

Required. The resource name for the CaPool in the format projects/*/locations/*/caPools/*.

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

Returns
TypeDescription
FetchCaCertsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchCaCertsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchCaCertsRequest.Builder
Overrides

clearRequestId()

public FetchCaCertsRequest.Builder clearRequestId()

Optional. An 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 since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

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];

Returns
TypeDescription
FetchCaCertsRequest.Builder

This builder for chaining.

clone()

public FetchCaCertsRequest.Builder clone()
Returns
TypeDescription
FetchCaCertsRequest.Builder
Overrides

getCaPool()

public String getCaPool()

Required. The resource name for the CaPool in the format projects/*/locations/*/caPools/*.

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

Returns
TypeDescription
String

The caPool.

getCaPoolBytes()

public ByteString getCaPoolBytes()

Required. The resource name for the CaPool in the format projects/*/locations/*/caPools/*.

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

Returns
TypeDescription
ByteString

The bytes for caPool.

getDefaultInstanceForType()

public FetchCaCertsRequest getDefaultInstanceForType()
Returns
TypeDescription
FetchCaCertsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRequestId()

public String getRequestId()

Optional. An 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 since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

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];

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An 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 since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

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];

Returns
TypeDescription
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchCaCertsRequest other)

public FetchCaCertsRequest.Builder mergeFrom(FetchCaCertsRequest other)
Parameter
NameDescription
otherFetchCaCertsRequest
Returns
TypeDescription
FetchCaCertsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchCaCertsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchCaCertsRequest.Builder
Overrides

setCaPool(String value)

public FetchCaCertsRequest.Builder setCaPool(String value)

Required. The resource name for the CaPool in the format projects/*/locations/*/caPools/*.

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

Parameter
NameDescription
valueString

The caPool to set.

Returns
TypeDescription
FetchCaCertsRequest.Builder

This builder for chaining.

setCaPoolBytes(ByteString value)

public FetchCaCertsRequest.Builder setCaPoolBytes(ByteString value)

Required. The resource name for the CaPool in the format projects/*/locations/*/caPools/*.

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

Parameter
NameDescription
valueByteString

The bytes for caPool to set.

Returns
TypeDescription
FetchCaCertsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchCaCertsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FetchCaCertsRequest.Builder
Overrides

setRequestId(String value)

public FetchCaCertsRequest.Builder setRequestId(String value)

Optional. An 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 since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

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];

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
FetchCaCertsRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public FetchCaCertsRequest.Builder setRequestIdBytes(ByteString value)

Optional. An 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 since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

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];

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
FetchCaCertsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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