Class ListCustomTargetTypesResponse.Builder (1.39.0)

public static final class ListCustomTargetTypesResponse.Builder extends GeneratedMessageV3.Builder<ListCustomTargetTypesResponse.Builder> implements ListCustomTargetTypesResponseOrBuilder

The response object from ListCustomTargetTypes.

Protobuf type google.cloud.deploy.v1.ListCustomTargetTypesResponse

Static Methods

getDescriptor()

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

Methods

addAllCustomTargetTypes(Iterable<? extends CustomTargetType> values)

public ListCustomTargetTypesResponse.Builder addAllCustomTargetTypes(Iterable<? extends CustomTargetType> values)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.CustomTargetType>
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.

addCustomTargetTypes(CustomTargetType value)

public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(CustomTargetType value)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
valueCustomTargetType
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

addCustomTargetTypes(CustomTargetType.Builder builderForValue)

public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(CustomTargetType.Builder builderForValue)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
builderForValueCustomTargetType.Builder
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

addCustomTargetTypes(int index, CustomTargetType value)

public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(int index, CustomTargetType value)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameters
NameDescription
indexint
valueCustomTargetType
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

addCustomTargetTypes(int index, CustomTargetType.Builder builderForValue)

public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(int index, CustomTargetType.Builder builderForValue)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameters
NameDescription
indexint
builderForValueCustomTargetType.Builder
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

addCustomTargetTypesBuilder()

public CustomTargetType.Builder addCustomTargetTypesBuilder()

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Returns
TypeDescription
CustomTargetType.Builder

addCustomTargetTypesBuilder(int index)

public CustomTargetType.Builder addCustomTargetTypesBuilder(int index)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomTargetType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListCustomTargetTypesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListCustomTargetTypesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.

build()

public ListCustomTargetTypesResponse build()
Returns
TypeDescription
ListCustomTargetTypesResponse

buildPartial()

public ListCustomTargetTypesResponse buildPartial()
Returns
TypeDescription
ListCustomTargetTypesResponse

clear()

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

clearCustomTargetTypes()

public ListCustomTargetTypesResponse.Builder clearCustomTargetTypes()

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCustomTargetTypesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCustomTargetTypesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.

clone()

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

getCustomTargetTypes(int index)

public CustomTargetType getCustomTargetTypes(int index)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomTargetType

getCustomTargetTypesBuilder(int index)

public CustomTargetType.Builder getCustomTargetTypesBuilder(int index)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomTargetType.Builder

getCustomTargetTypesBuilderList()

public List<CustomTargetType.Builder> getCustomTargetTypesBuilderList()

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Returns
TypeDescription
List<Builder>

getCustomTargetTypesCount()

public int getCustomTargetTypesCount()

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Returns
TypeDescription
int

getCustomTargetTypesList()

public List<CustomTargetType> getCustomTargetTypesList()

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Returns
TypeDescription
List<CustomTargetType>

getCustomTargetTypesOrBuilder(int index)

public CustomTargetTypeOrBuilder getCustomTargetTypesOrBuilder(int index)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomTargetTypeOrBuilder

getCustomTargetTypesOrBuilderList()

public List<? extends CustomTargetTypeOrBuilder> getCustomTargetTypesOrBuilderList()

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Returns
TypeDescription
List<? extends com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>

getDefaultInstanceForType()

public ListCustomTargetTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCustomTargetTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

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)

Locations that could not be reached.

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()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

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(ListCustomTargetTypesResponse other)

public ListCustomTargetTypesResponse.Builder mergeFrom(ListCustomTargetTypesResponse other)
Parameter
NameDescription
otherListCustomTargetTypesResponse
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCustomTargetTypes(int index)

public ListCustomTargetTypesResponse.Builder removeCustomTargetTypes(int index)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

setCustomTargetTypes(int index, CustomTargetType value)

public ListCustomTargetTypesResponse.Builder setCustomTargetTypes(int index, CustomTargetType value)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameters
NameDescription
indexint
valueCustomTargetType
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

setCustomTargetTypes(int index, CustomTargetType.Builder builderForValue)

public ListCustomTargetTypesResponse.Builder setCustomTargetTypes(int index, CustomTargetType.Builder builderForValue)

The CustomTargetType objects.

repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;

Parameters
NameDescription
indexint
builderForValueCustomTargetType.Builder
Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCustomTargetTypesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCustomTargetTypesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListCustomTargetTypesResponse.Builder

This builder for chaining.