Class GetServiceRolloutRequest.Builder (3.81.0)

public static final class GetServiceRolloutRequest.Builder extends GeneratedMessage.Builder<GetServiceRolloutRequest.Builder> implements GetServiceRolloutRequestOrBuilder

Request message for GetServiceRollout method.

Protobuf type google.api.servicemanagement.v1.GetServiceRolloutRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetServiceRolloutRequest build()
Returns
Type Description
GetServiceRolloutRequest

buildPartial()

public GetServiceRolloutRequest buildPartial()
Returns
Type Description
GetServiceRolloutRequest

clear()

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

clearRolloutId()

public GetServiceRolloutRequest.Builder clearRolloutId()

Required. The id of the rollout resource.

string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetServiceRolloutRequest.Builder

This builder for chaining.

clearServiceName()

public GetServiceRolloutRequest.Builder clearServiceName()

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetServiceRolloutRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetServiceRolloutRequest getDefaultInstanceForType()
Returns
Type Description
GetServiceRolloutRequest

getDescriptorForType()

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

getRolloutId()

public String getRolloutId()

Required. The id of the rollout resource.

string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The rolloutId.

getRolloutIdBytes()

public ByteString getRolloutIdBytes()

Required. The id of the rollout resource.

string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for rolloutId.

getServiceName()

public String getServiceName()

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetServiceRolloutRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setRolloutId(String value)

public GetServiceRolloutRequest.Builder setRolloutId(String value)

Required. The id of the rollout resource.

string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The rolloutId to set.

Returns
Type Description
GetServiceRolloutRequest.Builder

This builder for chaining.

setRolloutIdBytes(ByteString value)

public GetServiceRolloutRequest.Builder setRolloutIdBytes(ByteString value)

Required. The id of the rollout resource.

string rollout_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for rolloutId to set.

Returns
Type Description
GetServiceRolloutRequest.Builder

This builder for chaining.

setServiceName(String value)

public GetServiceRolloutRequest.Builder setServiceName(String value)

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The serviceName to set.

Returns
Type Description
GetServiceRolloutRequest.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public GetServiceRolloutRequest.Builder setServiceNameBytes(ByteString value)

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for serviceName to set.

Returns
Type Description
GetServiceRolloutRequest.Builder

This builder for chaining.