Class ListServiceRolloutsRequest.Builder (3.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListServiceRolloutsRequest build()
Returns
TypeDescription
ListServiceRolloutsRequest

buildPartial()

public ListServiceRolloutsRequest buildPartial()
Returns
TypeDescription
ListServiceRolloutsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearPageToken()

public ListServiceRolloutsRequest.Builder clearPageToken()

The token of the page to retrieve.

string page_token = 2;

Returns
TypeDescription
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
TypeDescription
ListServiceRolloutsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListServiceRolloutsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListServiceRolloutsRequest

getDescriptorForType()

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

The pageSize.

getPageToken()

public String getPageToken()

The token of the page to retrieve.

string page_token = 2;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The token of the page to retrieve.

string page_token = 2;

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

public ListServiceRolloutsRequest.Builder mergeFrom(ListServiceRolloutsRequest other)
Parameter
NameDescription
otherListServiceRolloutsRequest
Returns
TypeDescription
ListServiceRolloutsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The serviceName to set.

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

The bytes for serviceName to set.

Returns
TypeDescription
ListServiceRolloutsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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