public static final class ListServiceProjectAttachmentsResponse.Builder extends GeneratedMessageV3.Builder<ListServiceProjectAttachmentsResponse.Builder> implements ListServiceProjectAttachmentsResponseOrBuilder
Response for ListServiceProjectAttachments.
Protobuf type google.cloud.apphub.v1.ListServiceProjectAttachmentsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListServiceProjectAttachmentsResponse.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.apphub.v1.ServiceProjectAttachment> |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListServiceProjectAttachmentsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServiceProjectAttachmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
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 | |
---|---|
Name | Description |
value | ServiceProjectAttachment |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | ServiceProjectAttachment.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | ServiceProjectAttachment |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | ServiceProjectAttachment.Builder |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
addServiceProjectAttachmentsBuilder()
public ServiceProjectAttachment.Builder addServiceProjectAttachmentsBuilder()
List of service project attachments.
repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceProjectAttachment.Builder |
addUnreachable(String value)
public ListServiceProjectAttachmentsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value | String The unreachable to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder | This builder for chaining. |
build()
public ListServiceProjectAttachmentsResponse build()
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse |
buildPartial()
public ListServiceProjectAttachmentsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse |
clear()
public ListServiceProjectAttachmentsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListServiceProjectAttachmentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
clearNextPageToken()
public ListServiceProjectAttachmentsResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServiceProjectAttachmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
clearServiceProjectAttachments()
public ListServiceProjectAttachmentsResponse.Builder clearServiceProjectAttachments()
List of service project attachments.
repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
clearUnreachable()
public ListServiceProjectAttachmentsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder | This builder for chaining. |
clone()
public ListServiceProjectAttachmentsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
getDefaultInstanceForType()
public ListServiceProjectAttachmentsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceProjectAttachment.Builder |
getServiceProjectAttachmentsBuilderList()
public List<ServiceProjectAttachment.Builder> getServiceProjectAttachmentsBuilderList()
List of service project attachments.
repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getServiceProjectAttachmentsCount()
public int getServiceProjectAttachmentsCount()
List of service project attachments.
repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;
Returns | |
---|---|
Type | Description |
int |
getServiceProjectAttachmentsList()
public List<ServiceProjectAttachment> getServiceProjectAttachmentsList()
List of service project attachments.
repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceProjectAttachmentOrBuilder |
getServiceProjectAttachmentsOrBuilderList()
public List<? extends ServiceProjectAttachmentOrBuilder> getServiceProjectAttachmentsOrBuilderList()
List of service project attachments.
repeated .google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachments = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListServiceProjectAttachmentsResponse other)
public ListServiceProjectAttachmentsResponse.Builder mergeFrom(ListServiceProjectAttachmentsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListServiceProjectAttachmentsResponse |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListServiceProjectAttachmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListServiceProjectAttachmentsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceProjectAttachmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListServiceProjectAttachmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
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 | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | ServiceProjectAttachment |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | ServiceProjectAttachment.Builder |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceProjectAttachmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder |
setUnreachable(int index, String value)
public ListServiceProjectAttachmentsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListServiceProjectAttachmentsResponse.Builder | This builder for chaining. |