Class SearchBlueprintRevisionsRequest.Builder (0.16.0)

public static final class SearchBlueprintRevisionsRequest.Builder extends GeneratedMessageV3.Builder<SearchBlueprintRevisionsRequest.Builder> implements SearchBlueprintRevisionsRequestOrBuilder

Request object for SearchBlueprintRevisions.

Protobuf type google.cloud.telcoautomation.v1.SearchBlueprintRevisionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchBlueprintRevisionsRequest build()
Returns
Type Description
SearchBlueprintRevisionsRequest

buildPartial()

public SearchBlueprintRevisionsRequest buildPartial()
Returns
Type Description
SearchBlueprintRevisionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public SearchBlueprintRevisionsRequest.Builder clearPageSize()

Optional. The maximum number of blueprints 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
SearchBlueprintRevisionsRequest.Builder

This builder for chaining.

clearPageToken()

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

This builder for chaining.

clearParent()

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

This builder for chaining.

clearQuery()

public SearchBlueprintRevisionsRequest.Builder clearQuery()

Required. Supported queries:

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

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

Returns
Type Description
SearchBlueprintRevisionsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchBlueprintRevisionsRequest getDefaultInstanceForType()
Returns
Type Description
SearchBlueprintRevisionsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of blueprints 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 blueprints.
  2. "latest=true" : Lists latest revisions across all blueprints.
  3. "name={name}" : Lists all revisions of blueprint with name {name}.
  4. "name={name} latest=true": Lists latest revision of blueprint 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 blueprints.
  2. "latest=true" : Lists latest revisions across all blueprints.
  3. "name={name}" : Lists all revisions of blueprint with name {name}.
  4. "name={name} latest=true": Lists latest revision of blueprint 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(SearchBlueprintRevisionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public SearchBlueprintRevisionsRequest.Builder setPageSize(int value)

Optional. The maximum number of blueprints 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
SearchBlueprintRevisionsRequest.Builder

This builder for chaining.

setPageToken(String value)

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

This builder for chaining.

setPageTokenBytes(ByteString value)

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

This builder for chaining.

setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

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

This builder for chaining.

setQuery(String value)

public SearchBlueprintRevisionsRequest.Builder setQuery(String value)

Required. Supported queries:

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

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

Parameter
Name Description
value String

The query to set.

Returns
Type Description
SearchBlueprintRevisionsRequest.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public SearchBlueprintRevisionsRequest.Builder setQueryBytes(ByteString value)

Required. Supported queries:

  1. "" : Lists all revisions across all blueprints.
  2. "latest=true" : Lists latest revisions across all blueprints.
  3. "name={name}" : Lists all revisions of blueprint with name {name}.
  4. "name={name} latest=true": Lists latest revision of blueprint 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
SearchBlueprintRevisionsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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