Class ListTerraformVersionsResponse.Builder (0.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.config.v1.TerraformVersion>
Returns
TypeDescription
ListTerraformVersionsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListTerraformVersionsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTerraformVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTerraformVersion
Returns
TypeDescription
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
NameDescription
builderForValueTerraformVersion.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTerraformVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTerraformVersion.Builder
Returns
TypeDescription
ListTerraformVersionsResponse.Builder

addTerraformVersionsBuilder()

public TerraformVersion.Builder addTerraformVersionsBuilder()

List of TerraformVersions.

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

Returns
TypeDescription
TerraformVersion.Builder

addTerraformVersionsBuilder(int index)

public TerraformVersion.Builder addTerraformVersionsBuilder(int index)

List of TerraformVersions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TerraformVersion.Builder

addUnreachable(String value)

public ListTerraformVersionsResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListTerraformVersionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListTerraformVersionsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListTerraformVersionsResponse.Builder

This builder for chaining.

build()

public ListTerraformVersionsResponse build()
Returns
TypeDescription
ListTerraformVersionsResponse

buildPartial()

public ListTerraformVersionsResponse buildPartial()
Returns
TypeDescription
ListTerraformVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTerraformVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListTerraformVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTerraformVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListTerraformVersionsResponse.Builder
Overrides

clearTerraformVersions()

public ListTerraformVersionsResponse.Builder clearTerraformVersions()

List of TerraformVersions.

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

Returns
TypeDescription
ListTerraformVersionsResponse.Builder

clearUnreachable()

public ListTerraformVersionsResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
ListTerraformVersionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTerraformVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTerraformVersionsResponse

getDescriptorForType()

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

getTerraformVersionsBuilder(int index)

public TerraformVersion.Builder getTerraformVersionsBuilder(int index)

List of TerraformVersions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TerraformVersion.Builder

getTerraformVersionsBuilderList()

public List<TerraformVersion.Builder> getTerraformVersionsBuilderList()

List of TerraformVersions.

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

Returns
TypeDescription
List<Builder>

getTerraformVersionsCount()

public int getTerraformVersionsCount()

List of TerraformVersions.

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

Returns
TypeDescription
int

getTerraformVersionsList()

public List<TerraformVersion> getTerraformVersionsList()

List of TerraformVersions.

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

Returns
TypeDescription
List<TerraformVersion>

getTerraformVersionsOrBuilder(int index)

public TerraformVersionOrBuilder getTerraformVersionsOrBuilder(int index)

List of TerraformVersions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TerraformVersionOrBuilder

getTerraformVersionsOrBuilderList()

public List<? extends TerraformVersionOrBuilder> getTerraformVersionsOrBuilderList()

List of TerraformVersions.

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

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

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTerraformVersionsResponse other)

public ListTerraformVersionsResponse.Builder mergeFrom(ListTerraformVersionsResponse other)
Parameter
NameDescription
otherListTerraformVersionsResponse
Returns
TypeDescription
ListTerraformVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTerraformVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListTerraformVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTerraformVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTerraformVersion.Builder
Returns
TypeDescription
ListTerraformVersionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTerraformVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListTerraformVersionsResponse.Builder

This builder for chaining.