Class GetAutomationRunRequest.Builder (1.39.0)

public static final class GetAutomationRunRequest.Builder extends GeneratedMessageV3.Builder<GetAutomationRunRequest.Builder> implements GetAutomationRunRequestOrBuilder

The request object for GetAutomationRun

Protobuf type google.cloud.deploy.v1.GetAutomationRunRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAutomationRunRequest build()
Returns
TypeDescription
GetAutomationRunRequest

buildPartial()

public GetAutomationRunRequest buildPartial()
Returns
TypeDescription
GetAutomationRunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetAutomationRunRequest.Builder clearName()

Required. Name of the AutomationRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

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

Returns
TypeDescription
GetAutomationRunRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAutomationRunRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAutomationRunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the AutomationRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the AutomationRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

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

public GetAutomationRunRequest.Builder mergeFrom(GetAutomationRunRequest other)
Parameter
NameDescription
otherGetAutomationRunRequest
Returns
TypeDescription
GetAutomationRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAutomationRunRequest.Builder setName(String value)

Required. Name of the AutomationRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetAutomationRunRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAutomationRunRequest.Builder setNameBytes(ByteString value)

Required. Name of the AutomationRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetAutomationRunRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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