Class ExportRevisionStatefileRequest.Builder (0.21.0)

public static final class ExportRevisionStatefileRequest.Builder extends GeneratedMessageV3.Builder<ExportRevisionStatefileRequest.Builder> implements ExportRevisionStatefileRequestOrBuilder

A request to export a state file passed to a 'ExportRevisionStatefile' call.

Protobuf type google.cloud.config.v1.ExportRevisionStatefileRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportRevisionStatefileRequest build()
Returns
Type Description
ExportRevisionStatefileRequest

buildPartial()

public ExportRevisionStatefileRequest buildPartial()
Returns
Type Description
ExportRevisionStatefileRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ExportRevisionStatefileRequest.Builder clearParent()

Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

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

Returns
Type Description
ExportRevisionStatefileRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportRevisionStatefileRequest getDefaultInstanceForType()
Returns
Type Description
ExportRevisionStatefileRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

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 in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportRevisionStatefileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ExportRevisionStatefileRequest.Builder setParent(String value)

Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ExportRevisionStatefileRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ExportRevisionStatefileRequest.Builder setParentBytes(ByteString value)

Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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