Class SearchDeploymentRevisionsRequest.Builder (0.6.0)

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

Request object for SearchDeploymentRevisions.

Protobuf type google.cloud.telcoautomation.v1alpha1.SearchDeploymentRevisionsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchDeploymentRevisionsRequest build()
Returns
TypeDescription
SearchDeploymentRevisionsRequest

buildPartial()

public SearchDeploymentRevisionsRequest buildPartial()
Returns
TypeDescription
SearchDeploymentRevisionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchDeploymentRevisionsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchDeploymentRevisionsRequest

getDescriptorForType()

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

The bytes for query.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchDeploymentRevisionsRequest other)

public SearchDeploymentRevisionsRequest.Builder mergeFrom(SearchDeploymentRevisionsRequest other)
Parameter
NameDescription
otherSearchDeploymentRevisionsRequest
Returns
TypeDescription
SearchDeploymentRevisionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

The query to set.

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

The bytes for query to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchDeploymentRevisionsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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