public static final class GetExecutionRequest.Builder extends GeneratedMessageV3.Builder<GetExecutionRequest.Builder> implements GetExecutionRequestOrBuilder
Request for the
GetExecution
method.
Protobuf type google.cloud.workflows.executions.v1.GetExecutionRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetExecutionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetExecutionRequest build()
Returns
buildPartial()
public GetExecutionRequest buildPartial()
Returns
clear()
public GetExecutionRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public GetExecutionRequest.Builder clearName()
Required. Name of the execution to be retrieved.
Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearView()
public GetExecutionRequest.Builder clearView()
Optional. A view defining which fields should be filled in the returned execution.
The API will default to the FULL view.
.google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public GetExecutionRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetExecutionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. Name of the execution to be retrieved.
Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Name of the execution to be retrieved.
Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getView()
public ExecutionView getView()
Optional. A view defining which fields should be filled in the returned execution.
The API will default to the FULL view.
.google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getViewValue()
public int getViewValue()
Optional. A view defining which fields should be filled in the returned execution.
The API will default to the FULL view.
.google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The enum numeric value on the wire for view.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetExecutionRequest other)
public GetExecutionRequest.Builder mergeFrom(GetExecutionRequest other)
Parameter
Returns
public GetExecutionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetExecutionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public GetExecutionRequest.Builder setName(String value)
Required. Name of the execution to be retrieved.
Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public GetExecutionRequest.Builder setNameBytes(ByteString value)
Required. Name of the execution to be retrieved.
Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setView(ExecutionView value)
public GetExecutionRequest.Builder setView(ExecutionView value)
Optional. A view defining which fields should be filled in the returned execution.
The API will default to the FULL view.
.google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setViewValue(int value)
public GetExecutionRequest.Builder setViewValue(int value)
Optional. A view defining which fields should be filled in the returned execution.
The API will default to the FULL view.
.google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for view to set.
|
Returns