Class GetAutomationRequest.Builder (1.83.0)

public static final class GetAutomationRequest.Builder extends GeneratedMessage.Builder<GetAutomationRequest.Builder> implements GetAutomationRequestOrBuilder

The request object for GetAutomation

Protobuf type google.cloud.deploy.v1.GetAutomationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetAutomationRequest build()
Returns
Type Description
GetAutomationRequest

buildPartial()

public GetAutomationRequest buildPartial()
Returns
Type Description
GetAutomationRequest

clear()

public GetAutomationRequest.Builder clear()
Returns
Type Description
GetAutomationRequest.Builder
Overrides

clearName()

public GetAutomationRequest.Builder clearName()

Required. Name of the Automation. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}.

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

Returns
Type Description
GetAutomationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetAutomationRequest getDefaultInstanceForType()
Returns
Type Description
GetAutomationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Name of the Automation. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}.

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 Automation. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetAutomationRequest other)

public GetAutomationRequest.Builder mergeFrom(GetAutomationRequest other)
Parameter
Name Description
other GetAutomationRequest
Returns
Type Description
GetAutomationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetAutomationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetAutomationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetAutomationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetAutomationRequest.Builder
Overrides

setName(String value)

public GetAutomationRequest.Builder setName(String value)

Required. Name of the Automation. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetAutomationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAutomationRequest.Builder setNameBytes(ByteString value)

Required. Name of the Automation. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetAutomationRequest.Builder

This builder for chaining.