Class GetRolloutRequest.Builder (1.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRolloutRequest build()
Returns
TypeDescription
GetRolloutRequest

buildPartial()

public GetRolloutRequest buildPartial()
Returns
TypeDescription
GetRolloutRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetRolloutRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetRolloutRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetRolloutRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRolloutRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(GetRolloutRequest other)

public GetRolloutRequest.Builder mergeFrom(GetRolloutRequest other)
Parameter
NameDescription
otherGetRolloutRequest
Returns
TypeDescription
GetRolloutRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetRolloutRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetRolloutRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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