Class ListServiceProjectAttachmentsResponse.Builder (0.1.0)

public static final class ListServiceProjectAttachmentsResponse.Builder extends GeneratedMessageV3.Builder<ListServiceProjectAttachmentsResponse.Builder> implements ListServiceProjectAttachmentsResponseOrBuilder

Response for ListServiceProjectAttachments.

Protobuf type google.cloud.apphub.v1.ListServiceProjectAttachmentsResponse

Static Methods

getDescriptor()

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

Methods

addAllServiceProjectAttachments(Iterable<? extends ServiceProjectAttachment> values)

public ListServiceProjectAttachmentsResponse.Builder addAllServiceProjectAttachments(Iterable<? extends ServiceProjectAttachment> values)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.apphub.v1.ServiceProjectAttachment>
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListServiceProjectAttachmentsResponse.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
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServiceProjectAttachments(ServiceProjectAttachment value)

public ListServiceProjectAttachmentsResponse.Builder addServiceProjectAttachments(ServiceProjectAttachment value)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
valueServiceProjectAttachment
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

addServiceProjectAttachments(ServiceProjectAttachment.Builder builderForValue)

public ListServiceProjectAttachmentsResponse.Builder addServiceProjectAttachments(ServiceProjectAttachment.Builder builderForValue)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
builderForValueServiceProjectAttachment.Builder
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

addServiceProjectAttachments(int index, ServiceProjectAttachment value)

public ListServiceProjectAttachmentsResponse.Builder addServiceProjectAttachments(int index, ServiceProjectAttachment value)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameters
NameDescription
indexint
valueServiceProjectAttachment
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

addServiceProjectAttachments(int index, ServiceProjectAttachment.Builder builderForValue)

public ListServiceProjectAttachmentsResponse.Builder addServiceProjectAttachments(int index, ServiceProjectAttachment.Builder builderForValue)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameters
NameDescription
indexint
builderForValueServiceProjectAttachment.Builder
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

addServiceProjectAttachmentsBuilder()

public ServiceProjectAttachment.Builder addServiceProjectAttachmentsBuilder()

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Returns
TypeDescription
ServiceProjectAttachment.Builder

addServiceProjectAttachmentsBuilder(int index)

public ServiceProjectAttachment.Builder addServiceProjectAttachmentsBuilder(int index)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServiceProjectAttachment.Builder

addUnreachable(String value)

public ListServiceProjectAttachmentsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListServiceProjectAttachmentsResponse.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
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.

build()

public ListServiceProjectAttachmentsResponse build()
Returns
TypeDescription
ListServiceProjectAttachmentsResponse

buildPartial()

public ListServiceProjectAttachmentsResponse buildPartial()
Returns
TypeDescription
ListServiceProjectAttachmentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListServiceProjectAttachmentsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceProjectAttachments()

public ListServiceProjectAttachmentsResponse.Builder clearServiceProjectAttachments()

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

clearUnreachable()

public ListServiceProjectAttachmentsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListServiceProjectAttachmentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServiceProjectAttachmentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getServiceProjectAttachments(int index)

public ServiceProjectAttachment getServiceProjectAttachments(int index)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServiceProjectAttachment

getServiceProjectAttachmentsBuilder(int index)

public ServiceProjectAttachment.Builder getServiceProjectAttachmentsBuilder(int index)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServiceProjectAttachment.Builder

getServiceProjectAttachmentsBuilderList()

public List<ServiceProjectAttachment.Builder> getServiceProjectAttachmentsBuilderList()

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Returns
TypeDescription
List<Builder>

getServiceProjectAttachmentsCount()

public int getServiceProjectAttachmentsCount()

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Returns
TypeDescription
int

getServiceProjectAttachmentsList()

public List<ServiceProjectAttachment> getServiceProjectAttachmentsList()

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Returns
TypeDescription
List<ServiceProjectAttachment>

getServiceProjectAttachmentsOrBuilder(int index)

public ServiceProjectAttachmentOrBuilder getServiceProjectAttachmentsOrBuilder(int index)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServiceProjectAttachmentOrBuilder

getServiceProjectAttachmentsOrBuilderList()

public List<? extends ServiceProjectAttachmentOrBuilder> getServiceProjectAttachmentsOrBuilderList()

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Returns
TypeDescription
List<? extends com.google.cloud.apphub.v1.ServiceProjectAttachmentOrBuilder>

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

public ListServiceProjectAttachmentsResponse.Builder mergeFrom(ListServiceProjectAttachmentsResponse other)
Parameter
NameDescription
otherListServiceProjectAttachmentsResponse
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeServiceProjectAttachments(int index)

public ListServiceProjectAttachmentsResponse.Builder removeServiceProjectAttachments(int index)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListServiceProjectAttachmentsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListServiceProjectAttachmentsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.

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

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

setServiceProjectAttachments(int index, ServiceProjectAttachment value)

public ListServiceProjectAttachmentsResponse.Builder setServiceProjectAttachments(int index, ServiceProjectAttachment value)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameters
NameDescription
indexint
valueServiceProjectAttachment
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

setServiceProjectAttachments(int index, ServiceProjectAttachment.Builder builderForValue)

public ListServiceProjectAttachmentsResponse.Builder setServiceProjectAttachments(int index, ServiceProjectAttachment.Builder builderForValue)

List of service project attachments.

repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;

Parameters
NameDescription
indexint
builderForValueServiceProjectAttachment.Builder
Returns
TypeDescription
ListServiceProjectAttachmentsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListServiceProjectAttachmentsResponse.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
ListServiceProjectAttachmentsResponse.Builder

This builder for chaining.