Class ListServiceRolloutsRequest.Builder (3.42.0)

public static final class ListServiceRolloutsRequest.Builder extends GeneratedMessageV3.Builder<ListServiceRolloutsRequest.Builder> implements ListServiceRolloutsRequestOrBuilder

Request message for 'ListServiceRollouts'

Protobuf type google.api.servicemanagement.v1.ListServiceRolloutsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListServiceRolloutsRequest build()
Returns
Type Description
ListServiceRolloutsRequest

buildPartial()

public ListServiceRolloutsRequest buildPartial()
Returns
Type Description
ListServiceRolloutsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListServiceRolloutsRequest.Builder clearFilter()

Required. Use filter to return subset of rollouts. The following filters are supported:

-- By [status] [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example, filter='status=SUCCESS'

-- By [strategy] [google.api.servicemanagement.v1.Rollout.strategy]. For example, filter='strategy=TrafficPercentStrategy'

string filter = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListServiceRolloutsRequest.Builder clearPageSize()

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.

int32 page_size = 3;

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

clearPageToken()

public ListServiceRolloutsRequest.Builder clearPageToken()

The token of the page to retrieve.

string page_token = 2;

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

clearServiceName()

public ListServiceRolloutsRequest.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
ListServiceRolloutsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListServiceRolloutsRequest getDefaultInstanceForType()
Returns
Type Description
ListServiceRolloutsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Required. Use filter to return subset of rollouts. The following filters are supported:

-- By [status] [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example, filter='status=SUCCESS'

-- By [strategy] [google.api.servicemanagement.v1.Rollout.strategy]. For example, filter='strategy=TrafficPercentStrategy'

string filter = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Required. Use filter to return subset of rollouts. The following filters are supported:

-- By [status] [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example, filter='status=SUCCESS'

-- By [strategy] [google.api.servicemanagement.v1.Rollout.strategy]. For example, filter='strategy=TrafficPercentStrategy'

string filter = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The token of the page to retrieve.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The token of the page to retrieve.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

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(ListServiceRolloutsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListServiceRolloutsRequest.Builder setFilter(String value)

Required. Use filter to return subset of rollouts. The following filters are supported:

-- By [status] [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example, filter='status=SUCCESS'

-- By [strategy] [google.api.servicemanagement.v1.Rollout.strategy]. For example, filter='strategy=TrafficPercentStrategy'

string filter = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListServiceRolloutsRequest.Builder setFilterBytes(ByteString value)

Required. Use filter to return subset of rollouts. The following filters are supported:

-- By [status] [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example, filter='status=SUCCESS'

-- By [strategy] [google.api.servicemanagement.v1.Rollout.strategy]. For example, filter='strategy=TrafficPercentStrategy'

string filter = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListServiceRolloutsRequest.Builder setPageSize(int value)

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListServiceRolloutsRequest.Builder setPageToken(String value)

The token of the page to retrieve.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListServiceRolloutsRequest.Builder setPageTokenBytes(ByteString value)

The token of the page to retrieve.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListServiceRolloutsRequest.Builder

This builder for chaining.

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

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

setServiceName(String value)

public ListServiceRolloutsRequest.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
ListServiceRolloutsRequest.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public ListServiceRolloutsRequest.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
ListServiceRolloutsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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