Class GetServiceRolloutRequest.Builder (3.40.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GetServiceRolloutRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public GetServiceRolloutRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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