Class ListRuntimeProjectAttachmentsResponse.Builder (0.4.0)

public static final class ListRuntimeProjectAttachmentsResponse.Builder extends GeneratedMessageV3.Builder<ListRuntimeProjectAttachmentsResponse.Builder> implements ListRuntimeProjectAttachmentsResponseOrBuilder

The ListRuntimeProjectAttachments method's response.

Protobuf type google.cloud.apihub.v1.ListRuntimeProjectAttachmentsResponse

Static Methods

getDescriptor()

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

Methods

addAllRuntimeProjectAttachments(Iterable<? extends RuntimeProjectAttachment> values)

public ListRuntimeProjectAttachmentsResponse.Builder addAllRuntimeProjectAttachments(Iterable<? extends RuntimeProjectAttachment> values)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apihub.v1.RuntimeProjectAttachment>
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRuntimeProjectAttachments(RuntimeProjectAttachment value)

public ListRuntimeProjectAttachmentsResponse.Builder addRuntimeProjectAttachments(RuntimeProjectAttachment value)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
value RuntimeProjectAttachment
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

addRuntimeProjectAttachments(RuntimeProjectAttachment.Builder builderForValue)

public ListRuntimeProjectAttachmentsResponse.Builder addRuntimeProjectAttachments(RuntimeProjectAttachment.Builder builderForValue)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
builderForValue RuntimeProjectAttachment.Builder
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

addRuntimeProjectAttachments(int index, RuntimeProjectAttachment value)

public ListRuntimeProjectAttachmentsResponse.Builder addRuntimeProjectAttachments(int index, RuntimeProjectAttachment value)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameters
Name Description
index int
value RuntimeProjectAttachment
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

addRuntimeProjectAttachments(int index, RuntimeProjectAttachment.Builder builderForValue)

public ListRuntimeProjectAttachmentsResponse.Builder addRuntimeProjectAttachments(int index, RuntimeProjectAttachment.Builder builderForValue)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameters
Name Description
index int
builderForValue RuntimeProjectAttachment.Builder
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

addRuntimeProjectAttachmentsBuilder()

public RuntimeProjectAttachment.Builder addRuntimeProjectAttachmentsBuilder()

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Returns
Type Description
RuntimeProjectAttachment.Builder

addRuntimeProjectAttachmentsBuilder(int index)

public RuntimeProjectAttachment.Builder addRuntimeProjectAttachmentsBuilder(int index)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeProjectAttachment.Builder

build()

public ListRuntimeProjectAttachmentsResponse build()
Returns
Type Description
ListRuntimeProjectAttachmentsResponse

buildPartial()

public ListRuntimeProjectAttachmentsResponse buildPartial()
Returns
Type Description
ListRuntimeProjectAttachmentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListRuntimeProjectAttachmentsResponse.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
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRuntimeProjectAttachments()

public ListRuntimeProjectAttachmentsResponse.Builder clearRuntimeProjectAttachments()

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListRuntimeProjectAttachmentsResponse getDefaultInstanceForType()
Returns
Type Description
ListRuntimeProjectAttachmentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getRuntimeProjectAttachments(int index)

public RuntimeProjectAttachment getRuntimeProjectAttachments(int index)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeProjectAttachment

getRuntimeProjectAttachmentsBuilder(int index)

public RuntimeProjectAttachment.Builder getRuntimeProjectAttachmentsBuilder(int index)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeProjectAttachment.Builder

getRuntimeProjectAttachmentsBuilderList()

public List<RuntimeProjectAttachment.Builder> getRuntimeProjectAttachmentsBuilderList()

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Returns
Type Description
List<Builder>

getRuntimeProjectAttachmentsCount()

public int getRuntimeProjectAttachmentsCount()

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Returns
Type Description
int

getRuntimeProjectAttachmentsList()

public List<RuntimeProjectAttachment> getRuntimeProjectAttachmentsList()

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Returns
Type Description
List<RuntimeProjectAttachment>

getRuntimeProjectAttachmentsOrBuilder(int index)

public RuntimeProjectAttachmentOrBuilder getRuntimeProjectAttachmentsOrBuilder(int index)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
RuntimeProjectAttachmentOrBuilder

getRuntimeProjectAttachmentsOrBuilderList()

public List<? extends RuntimeProjectAttachmentOrBuilder> getRuntimeProjectAttachmentsOrBuilderList()

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Returns
Type Description
List<? extends com.google.cloud.apihub.v1.RuntimeProjectAttachmentOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRuntimeProjectAttachmentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRuntimeProjectAttachments(int index)

public ListRuntimeProjectAttachmentsResponse.Builder removeRuntimeProjectAttachments(int index)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRuntimeProjectAttachmentsResponse.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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRuntimeProjectAttachmentsResponse.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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

This builder for chaining.

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

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

setRuntimeProjectAttachments(int index, RuntimeProjectAttachment value)

public ListRuntimeProjectAttachmentsResponse.Builder setRuntimeProjectAttachments(int index, RuntimeProjectAttachment value)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameters
Name Description
index int
value RuntimeProjectAttachment
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

setRuntimeProjectAttachments(int index, RuntimeProjectAttachment.Builder builderForValue)

public ListRuntimeProjectAttachmentsResponse.Builder setRuntimeProjectAttachments(int index, RuntimeProjectAttachment.Builder builderForValue)

List of runtime project attachments.

repeated .google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachments = 1;

Parameters
Name Description
index int
builderForValue RuntimeProjectAttachment.Builder
Returns
Type Description
ListRuntimeProjectAttachmentsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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