Class GetRolloutRequest.Builder (1.44.0)

public static final class GetRolloutRequest.Builder extends GeneratedMessageV3.Builder<GetRolloutRequest.Builder> implements GetRolloutRequestOrBuilder

GetRolloutRequest is the request object used by GetRollout.

Protobuf type google.cloud.deploy.v1.GetRolloutRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRolloutRequest build()
Returns
Type Description
GetRolloutRequest

buildPartial()

public GetRolloutRequest buildPartial()
Returns
Type Description
GetRolloutRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetRolloutRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetRolloutRequest.Builder
Overrides

clearName()

public GetRolloutRequest.Builder clearName()

Required. Name of the Rollout. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}.

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

Returns
Type Description
GetRolloutRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetRolloutRequest getDefaultInstanceForType()
Returns
Type Description
GetRolloutRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the Rollout. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_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 Rollout. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_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(GetRolloutRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetRolloutRequest.Builder setName(String value)

Required. Name of the Rollout. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_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
GetRolloutRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetRolloutRequest.Builder setNameBytes(ByteString value)

Required. Name of the Rollout. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_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
GetRolloutRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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