Class SearchBlueprintRevisionsRequest.Builder (0.5.0)

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

Request object for SearchBlueprintRevisions.

Protobuf type google.cloud.telcoautomation.v1alpha1.SearchBlueprintRevisionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchBlueprintRevisionsRequest build()
Returns
TypeDescription
SearchBlueprintRevisionsRequest

buildPartial()

public SearchBlueprintRevisionsRequest buildPartial()
Returns
TypeDescription
SearchBlueprintRevisionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchBlueprintRevisionsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchBlueprintRevisionsRequest

getDescriptorForType()

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

public SearchBlueprintRevisionsRequest.Builder mergeFrom(SearchBlueprintRevisionsRequest other)
Parameter
NameDescription
otherSearchBlueprintRevisionsRequest
Returns
TypeDescription
SearchBlueprintRevisionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

The query to set.

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

The bytes for query to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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