Class ListTerraformVersionsResponse.Builder (0.29.0)

public static final class ListTerraformVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListTerraformVersionsResponse.Builder> implements ListTerraformVersionsResponseOrBuilder

The response message for the ListTerraformVersions method.

Protobuf type google.cloud.config.v1.ListTerraformVersionsResponse

Static Methods

getDescriptor()

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

Methods

addAllTerraformVersions(Iterable<? extends TerraformVersion> values)

public ListTerraformVersionsResponse.Builder addAllTerraformVersions(Iterable<? extends TerraformVersion> values)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.config.v1.TerraformVersion>
Returns
Type Description
ListTerraformVersionsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListTerraformVersionsResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTerraformVersions(TerraformVersion value)

public ListTerraformVersionsResponse.Builder addTerraformVersions(TerraformVersion value)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
value TerraformVersion
Returns
Type Description
ListTerraformVersionsResponse.Builder

addTerraformVersions(TerraformVersion.Builder builderForValue)

public ListTerraformVersionsResponse.Builder addTerraformVersions(TerraformVersion.Builder builderForValue)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
builderForValue TerraformVersion.Builder
Returns
Type Description
ListTerraformVersionsResponse.Builder

addTerraformVersions(int index, TerraformVersion value)

public ListTerraformVersionsResponse.Builder addTerraformVersions(int index, TerraformVersion value)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameters
Name Description
index int
value TerraformVersion
Returns
Type Description
ListTerraformVersionsResponse.Builder

addTerraformVersions(int index, TerraformVersion.Builder builderForValue)

public ListTerraformVersionsResponse.Builder addTerraformVersions(int index, TerraformVersion.Builder builderForValue)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameters
Name Description
index int
builderForValue TerraformVersion.Builder
Returns
Type Description
ListTerraformVersionsResponse.Builder

addTerraformVersionsBuilder()

public TerraformVersion.Builder addTerraformVersionsBuilder()

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Returns
Type Description
TerraformVersion.Builder

addTerraformVersionsBuilder(int index)

public TerraformVersion.Builder addTerraformVersionsBuilder(int index)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
TerraformVersion.Builder

addUnreachable(String value)

public ListTerraformVersionsResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListTerraformVersionsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.

build()

public ListTerraformVersionsResponse build()
Returns
Type Description
ListTerraformVersionsResponse

buildPartial()

public ListTerraformVersionsResponse buildPartial()
Returns
Type Description
ListTerraformVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTerraformVersionsResponse.Builder clearNextPageToken()

Token to be supplied to the next ListTerraformVersions request via page_token to obtain the next set of results.

string next_page_token = 2;

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTerraformVersions()

public ListTerraformVersionsResponse.Builder clearTerraformVersions()

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Returns
Type Description
ListTerraformVersionsResponse.Builder

clearUnreachable()

public ListTerraformVersionsResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTerraformVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListTerraformVersionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to be supplied to the next ListTerraformVersions request via page_token to obtain the next set of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to be supplied to the next ListTerraformVersions request via page_token to obtain the next set of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTerraformVersions(int index)

public TerraformVersion getTerraformVersions(int index)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
TerraformVersion

getTerraformVersionsBuilder(int index)

public TerraformVersion.Builder getTerraformVersionsBuilder(int index)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
TerraformVersion.Builder

getTerraformVersionsBuilderList()

public List<TerraformVersion.Builder> getTerraformVersionsBuilderList()

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Returns
Type Description
List<Builder>

getTerraformVersionsCount()

public int getTerraformVersionsCount()

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Returns
Type Description
int

getTerraformVersionsList()

public List<TerraformVersion> getTerraformVersionsList()

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Returns
Type Description
List<TerraformVersion>

getTerraformVersionsOrBuilder(int index)

public TerraformVersionOrBuilder getTerraformVersionsOrBuilder(int index)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
TerraformVersionOrBuilder

getTerraformVersionsOrBuilderList()

public List<? extends TerraformVersionOrBuilder> getTerraformVersionsOrBuilderList()

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Returns
Type Description
List<? extends com.google.cloud.config.v1.TerraformVersionOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTerraformVersionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTerraformVersions(int index)

public ListTerraformVersionsResponse.Builder removeTerraformVersions(int index)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTerraformVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTerraformVersionsResponse.Builder setNextPageToken(String value)

Token to be supplied to the next ListTerraformVersions request via page_token to obtain the next set of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTerraformVersionsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to be supplied to the next ListTerraformVersions request via page_token to obtain the next set of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.

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

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

setTerraformVersions(int index, TerraformVersion value)

public ListTerraformVersionsResponse.Builder setTerraformVersions(int index, TerraformVersion value)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameters
Name Description
index int
value TerraformVersion
Returns
Type Description
ListTerraformVersionsResponse.Builder

setTerraformVersions(int index, TerraformVersion.Builder builderForValue)

public ListTerraformVersionsResponse.Builder setTerraformVersions(int index, TerraformVersion.Builder builderForValue)

List of TerraformVersions.

repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;

Parameters
Name Description
index int
builderForValue TerraformVersion.Builder
Returns
Type Description
ListTerraformVersionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListTerraformVersionsResponse.Builder setUnreachable(int index, String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListTerraformVersionsResponse.Builder

This builder for chaining.