public static final class ListSACAttachmentsResponse.Builder extends GeneratedMessage.Builder<ListSACAttachmentsResponse.Builder> implements ListSACAttachmentsResponseOrBuilder Response for ListSACAttachments method.
Protobuf type google.cloud.networksecurity.v1.ListSACAttachmentsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSACAttachmentsResponse.BuilderImplements
ListSACAttachmentsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSacAttachments(Iterable<? extends SACAttachment> values)
public ListSACAttachmentsResponse.Builder addAllSacAttachments(Iterable<? extends SACAttachment> values)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.SACAttachment> |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListSACAttachmentsResponse.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 |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |
addSacAttachments(SACAttachment value)
public ListSACAttachmentsResponse.Builder addSacAttachments(SACAttachment value)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SACAttachment |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
addSacAttachments(SACAttachment.Builder builderForValue)
public ListSACAttachmentsResponse.Builder addSacAttachments(SACAttachment.Builder builderForValue)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SACAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
addSacAttachments(int index, SACAttachment value)
public ListSACAttachmentsResponse.Builder addSacAttachments(int index, SACAttachment value)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SACAttachment |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
addSacAttachments(int index, SACAttachment.Builder builderForValue)
public ListSACAttachmentsResponse.Builder addSacAttachments(int index, SACAttachment.Builder builderForValue)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SACAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
addSacAttachmentsBuilder()
public SACAttachment.Builder addSacAttachmentsBuilder()The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Returns | |
|---|---|
| Type | Description |
SACAttachment.Builder |
|
addSacAttachmentsBuilder(int index)
public SACAttachment.Builder addSacAttachmentsBuilder(int index)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SACAttachment.Builder |
|
addUnreachable(String value)
public ListSACAttachmentsResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListSACAttachmentsResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |
build()
public ListSACAttachmentsResponse build()| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse |
|
buildPartial()
public ListSACAttachmentsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse |
|
clear()
public ListSACAttachmentsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
clearNextPageToken()
public ListSACAttachmentsResponse.Builder clearNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |
clearSacAttachments()
public ListSACAttachmentsResponse.Builder clearSacAttachments()The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
clearUnreachable()
public ListSACAttachmentsResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListSACAttachmentsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse |
|
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. |
getSacAttachments(int index)
public SACAttachment getSacAttachments(int index)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SACAttachment |
|
getSacAttachmentsBuilder(int index)
public SACAttachment.Builder getSacAttachmentsBuilder(int index)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SACAttachment.Builder |
|
getSacAttachmentsBuilderList()
public List<SACAttachment.Builder> getSacAttachmentsBuilderList()The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSacAttachmentsCount()
public int getSacAttachmentsCount()The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSacAttachmentsList()
public List<SACAttachment> getSacAttachmentsList()The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Returns | |
|---|---|
| Type | Description |
List<SACAttachment> |
|
getSacAttachmentsOrBuilder(int index)
public SACAttachmentOrBuilder getSacAttachmentsOrBuilder(int index)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SACAttachmentOrBuilder |
|
getSacAttachmentsOrBuilderList()
public List<? extends SACAttachmentOrBuilder> getSacAttachmentsOrBuilderList()The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.SACAttachmentOrBuilder> |
|
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListSACAttachmentsResponse other)
public ListSACAttachmentsResponse.Builder mergeFrom(ListSACAttachmentsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSACAttachmentsResponse |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSACAttachmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSACAttachmentsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
removeSacAttachments(int index)
public ListSACAttachmentsResponse.Builder removeSacAttachments(int index)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
setNextPageToken(String value)
public ListSACAttachmentsResponse.Builder setNextPageToken(String value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListSACAttachmentsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |
setSacAttachments(int index, SACAttachment value)
public ListSACAttachmentsResponse.Builder setSacAttachments(int index, SACAttachment value)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SACAttachment |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
setSacAttachments(int index, SACAttachment.Builder builderForValue)
public ListSACAttachmentsResponse.Builder setSacAttachments(int index, SACAttachment.Builder builderForValue)The list of SACAttachments.
repeated .google.cloud.networksecurity.v1.SACAttachment sac_attachments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SACAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
|
setUnreachable(int index, String value)
public ListSACAttachmentsResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListSACAttachmentsResponse.Builder |
This builder for chaining. |