Class GetServiceRolloutRequest.Builder (3.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetServiceRolloutRequest build()
Returns
TypeDescription
GetServiceRolloutRequest

buildPartial()

public GetServiceRolloutRequest buildPartial()
Returns
TypeDescription
GetServiceRolloutRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetServiceRolloutRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetServiceRolloutRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetServiceRolloutRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GetServiceRolloutRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetServiceRolloutRequest getDefaultInstanceForType()
Returns
TypeDescription
GetServiceRolloutRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRolloutId()

public String getRolloutId()

Required. The id of the rollout resource.

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

Returns
TypeDescription
String

The rolloutId.

getRolloutIdBytes()

public ByteString getRolloutIdBytes()

Required. The id of the rollout resource.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetServiceRolloutRequest other)

public GetServiceRolloutRequest.Builder mergeFrom(GetServiceRolloutRequest other)
Parameter
NameDescription
otherGetServiceRolloutRequest
Returns
TypeDescription
GetServiceRolloutRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public GetServiceRolloutRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The rolloutId to set.

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

The bytes for rolloutId to set.

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

The serviceName to set.

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

The bytes for serviceName to set.

Returns
TypeDescription
GetServiceRolloutRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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