Class ExportPreviewResultRequest.Builder (0.31.0)

public static final class ExportPreviewResultRequest.Builder extends GeneratedMessageV3.Builder<ExportPreviewResultRequest.Builder> implements ExportPreviewResultRequestOrBuilder

A request to export preview results.

Protobuf type google.cloud.config.v1.ExportPreviewResultRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportPreviewResultRequest build()
Returns
Type Description
ExportPreviewResultRequest

buildPartial()

public ExportPreviewResultRequest buildPartial()
Returns
Type Description
ExportPreviewResultRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ExportPreviewResultRequest.Builder clearParent()

Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

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

Returns
Type Description
ExportPreviewResultRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportPreviewResultRequest getDefaultInstanceForType()
Returns
Type Description
ExportPreviewResultRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

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(ExportPreviewResultRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ExportPreviewResultRequest.Builder setParent(String value)

Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ExportPreviewResultRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ExportPreviewResultRequest.Builder setParentBytes(ByteString value)

Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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