Class GetAutomationRequest.Builder (1.53.0)

public static final class GetAutomationRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetAutomationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetAutomationRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GetAutomationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetAutomationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetAutomationRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetAutomationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetAutomationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetAutomationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public GetAutomationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetAutomationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetAutomationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetAutomationRequest.Builder
Overrides