Class ExportPreviewResultRequest.Builder (0.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportPreviewResultRequest build()
Returns
TypeDescription
ExportPreviewResultRequest

buildPartial()

public ExportPreviewResultRequest buildPartial()
Returns
TypeDescription
ExportPreviewResultRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportPreviewResultRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportPreviewResultRequest

getDescriptorForType()

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

public ExportPreviewResultRequest.Builder mergeFrom(ExportPreviewResultRequest other)
Parameter
NameDescription
otherExportPreviewResultRequest
Returns
TypeDescription
ExportPreviewResultRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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