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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportRevisionStatefileRequest.BuilderImplements
ExportRevisionStatefileRequestOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ExportRevisionStatefileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExportRevisionStatefileRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportRevisionStatefileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExportRevisionStatefileRequest.Builder |
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 |
getDefaultInstanceForType()
public ExportRevisionStatefileRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExportRevisionStatefileRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExportRevisionStatefileRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ExportRevisionStatefileRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportRevisionStatefileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportRevisionStatefileRequest.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportRevisionStatefileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportRevisionStatefileRequest.Builder |