Class ExportLockInfoRequest.Builder (0.22.0)

public static final class ExportLockInfoRequest.Builder extends GeneratedMessageV3.Builder<ExportLockInfoRequest.Builder> implements ExportLockInfoRequestOrBuilder

A request to get a state file lock info passed to a 'ExportLockInfo' call.

Protobuf type google.cloud.config.v1.ExportLockInfoRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportLockInfoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides

build()

public ExportLockInfoRequest build()
Returns
Type Description
ExportLockInfoRequest

buildPartial()

public ExportLockInfoRequest buildPartial()
Returns
Type Description
ExportLockInfoRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ExportLockInfoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides

clearName()

public ExportLockInfoRequest.Builder clearName()

Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

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

Returns
Type Description
ExportLockInfoRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportLockInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides

clone()

public ExportLockInfoRequest.Builder clone()
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides

getDefaultInstanceForType()

public ExportLockInfoRequest getDefaultInstanceForType()
Returns
Type Description
ExportLockInfoRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportLockInfoRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportLockInfoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExportLockInfoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides

setName(String value)

public ExportLockInfoRequest.Builder setName(String value)

Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExportLockInfoRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportLockInfoRequest.Builder setNameBytes(ByteString value)

Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

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
ExportLockInfoRequest.Builder

This builder for chaining.

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

public ExportLockInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportLockInfoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportLockInfoRequest.Builder
Overrides