Class GetExecutionRequest.Builder (0.24.0)

public static final class GetExecutionRequest.Builder extends GeneratedMessageV3.Builder<GetExecutionRequest.Builder> implements GetExecutionRequestOrBuilder

Request message for obtaining a Execution by its full name.

Protobuf type google.cloud.run.v2.GetExecutionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetExecutionRequest build()
Returns
TypeDescription
GetExecutionRequest

buildPartial()

public GetExecutionRequest buildPartial()
Returns
TypeDescription
GetExecutionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetExecutionRequest.Builder clearName()

Required. The full name of the Execution. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

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

Returns
TypeDescription
GetExecutionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetExecutionRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public GetExecutionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetExecutionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The full name of the Execution. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The full name of the Execution. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetExecutionRequest other)

public GetExecutionRequest.Builder mergeFrom(GetExecutionRequest other)
Parameter
NameDescription
otherGetExecutionRequest
Returns
TypeDescription
GetExecutionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetExecutionRequest.Builder setName(String value)

Required. The full name of the Execution. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetExecutionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetExecutionRequest.Builder setNameBytes(ByteString value)

Required. The full name of the Execution. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetExecutionRequest.Builder

This builder for chaining.

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

public GetExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetExecutionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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