Class SslPoliciesListAvailableFeaturesResponse.Builder (1.42.0)

public static final class SslPoliciesListAvailableFeaturesResponse.Builder extends GeneratedMessageV3.Builder<SslPoliciesListAvailableFeaturesResponse.Builder> implements SslPoliciesListAvailableFeaturesResponseOrBuilder

Protobuf type google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse

Static Methods

getDescriptor()

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

Methods

addAllFeatures(Iterable<String> values)

public SslPoliciesListAvailableFeaturesResponse.Builder addAllFeatures(Iterable<String> values)

repeated string features = 246211645;

Parameter
NameDescription
valuesIterable<String>

The features to add.

Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse.Builder

This builder for chaining.

addFeatures(String value)

public SslPoliciesListAvailableFeaturesResponse.Builder addFeatures(String value)

repeated string features = 246211645;

Parameter
NameDescription
valueString

The features to add.

Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse.Builder

This builder for chaining.

addFeaturesBytes(ByteString value)

public SslPoliciesListAvailableFeaturesResponse.Builder addFeaturesBytes(ByteString value)

repeated string features = 246211645;

Parameter
NameDescription
valueByteString

The bytes of the features to add.

Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SslPoliciesListAvailableFeaturesResponse build()
Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse

buildPartial()

public SslPoliciesListAvailableFeaturesResponse buildPartial()
Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse

clear()

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

clearFeatures()

public SslPoliciesListAvailableFeaturesResponse.Builder clearFeatures()

repeated string features = 246211645;

Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SslPoliciesListAvailableFeaturesResponse getDefaultInstanceForType()
Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatures(int index)

public String getFeatures(int index)

repeated string features = 246211645;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The features at the given index.

getFeaturesBytes(int index)

public ByteString getFeaturesBytes(int index)

repeated string features = 246211645;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the features at the given index.

getFeaturesCount()

public int getFeaturesCount()

repeated string features = 246211645;

Returns
TypeDescription
int

The count of features.

getFeaturesList()

public ProtocolStringList getFeaturesList()

repeated string features = 246211645;

Returns
TypeDescription
ProtocolStringList

A list containing the features.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SslPoliciesListAvailableFeaturesResponse other)

public SslPoliciesListAvailableFeaturesResponse.Builder mergeFrom(SslPoliciesListAvailableFeaturesResponse other)
Parameter
NameDescription
otherSslPoliciesListAvailableFeaturesResponse
Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setFeatures(int index, String value)

public SslPoliciesListAvailableFeaturesResponse.Builder setFeatures(int index, String value)

repeated string features = 246211645;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The features to set.

Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SslPoliciesListAvailableFeaturesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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