Class SearchDeploymentRevisionsRequest.Builder (0.23.0)

public static final class SearchDeploymentRevisionsRequest.Builder extends GeneratedMessageV3.Builder<SearchDeploymentRevisionsRequest.Builder> implements SearchDeploymentRevisionsRequestOrBuilder

Request object for SearchDeploymentRevisions.

Protobuf type google.cloud.telcoautomation.v1.SearchDeploymentRevisionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchDeploymentRevisionsRequest build()
Returns
Type Description
SearchDeploymentRevisionsRequest

buildPartial()

public SearchDeploymentRevisionsRequest buildPartial()
Returns
Type Description
SearchDeploymentRevisionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public SearchDeploymentRevisionsRequest.Builder clearPageSize()

Optional. The maximum number of deployment revisions to return per page. max page size = 100, default page size = 20.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchDeploymentRevisionsRequest.Builder clearPageToken()

Optional. The page token, received from a previous search call. It can be provided to retrieve the subsequent page.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

clearParent()

public SearchDeploymentRevisionsRequest.Builder clearParent()

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

clearQuery()

public SearchDeploymentRevisionsRequest.Builder clearQuery()

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.
  2. "latest=true" : Lists latest revisions across all deployments.
  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}

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

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchDeploymentRevisionsRequest getDefaultInstanceForType()
Returns
Type Description
SearchDeploymentRevisionsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of deployment revisions to return per page. max page size = 100, default page size = 20.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The page token, received from a previous search call. It can be provided to retrieve the subsequent page.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The page token, received from a previous search call. It can be provided to retrieve the subsequent page.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getQuery()

public String getQuery()

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.
  2. "latest=true" : Lists latest revisions across all deployments.
  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}

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

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.
  2. "latest=true" : Lists latest revisions across all deployments.
  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}

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

Returns
Type Description
ByteString

The bytes for query.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchDeploymentRevisionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public SearchDeploymentRevisionsRequest.Builder setPageSize(int value)

Optional. The maximum number of deployment revisions to return per page. max page size = 100, default page size = 20.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchDeploymentRevisionsRequest.Builder setPageToken(String value)

Optional. The page token, received from a previous search call. It can be provided to retrieve the subsequent page.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchDeploymentRevisionsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The page token, received from a previous search call. It can be provided to retrieve the subsequent page.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

setParent(String value)

public SearchDeploymentRevisionsRequest.Builder setParent(String value)

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SearchDeploymentRevisionsRequest.Builder setParentBytes(ByteString value)

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

setQuery(String value)

public SearchDeploymentRevisionsRequest.Builder setQuery(String value)

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.
  2. "latest=true" : Lists latest revisions across all deployments.
  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}

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

Parameter
Name Description
value String

The query to set.

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public SearchDeploymentRevisionsRequest.Builder setQueryBytes(ByteString value)

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.
  2. "latest=true" : Lists latest revisions across all deployments.
  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}

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

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
SearchDeploymentRevisionsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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