Class ExportRevisionStatefileRequest.Builder (0.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportRevisionStatefileRequest build()
Returns
TypeDescription
ExportRevisionStatefileRequest

buildPartial()

public ExportRevisionStatefileRequest buildPartial()
Returns
TypeDescription
ExportRevisionStatefileRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportRevisionStatefileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExportRevisionStatefileRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportRevisionStatefileRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportRevisionStatefileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportRevisionStatefileRequest other)

public ExportRevisionStatefileRequest.Builder mergeFrom(ExportRevisionStatefileRequest other)
Parameter
NameDescription
otherExportRevisionStatefileRequest
Returns
TypeDescription
ExportRevisionStatefileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ExportRevisionStatefileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportRevisionStatefileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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