public static final class FetchStaticIpsResponse.Builder extends GeneratedMessage.Builder<FetchStaticIpsResponse.Builder> implements FetchStaticIpsResponseOrBuilderResponse message for a 'FetchStaticIps' response.
Protobuf type google.cloud.datastream.v1alpha1.FetchStaticIpsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchStaticIpsResponse.BuilderImplements
FetchStaticIpsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllStaticIps(Iterable<String> values)
public FetchStaticIpsResponse.Builder addAllStaticIps(Iterable<String> values)list of static ips by account
repeated string static_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The staticIps to add. |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
This builder for chaining. |
addStaticIps(String value)
public FetchStaticIpsResponse.Builder addStaticIps(String value)list of static ips by account
repeated string static_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe staticIps to add. |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
This builder for chaining. |
addStaticIpsBytes(ByteString value)
public FetchStaticIpsResponse.Builder addStaticIpsBytes(ByteString value)list of static ips by account
repeated string static_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the staticIps to add. |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
This builder for chaining. |
build()
public FetchStaticIpsResponse build()| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse |
|
buildPartial()
public FetchStaticIpsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse |
|
clear()
public FetchStaticIpsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
|
clearNextPageToken()
public FetchStaticIpsResponse.Builder clearNextPageToken() A token that 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 |
FetchStaticIpsResponse.Builder |
This builder for chaining. |
clearStaticIps()
public FetchStaticIpsResponse.Builder clearStaticIps()list of static ips by account
repeated string static_ips = 1;
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchStaticIpsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token that 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 that 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. |
getStaticIps(int index)
public String getStaticIps(int index)list of static ips by account
repeated string static_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The staticIps at the given index. |
getStaticIpsBytes(int index)
public ByteString getStaticIpsBytes(int index)list of static ips by account
repeated string static_ips = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the staticIps at the given index. |
getStaticIpsCount()
public int getStaticIpsCount()list of static ips by account
repeated string static_ips = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of staticIps. |
getStaticIpsList()
public ProtocolStringList getStaticIpsList()list of static ips by account
repeated string static_ips = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the staticIps. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchStaticIpsResponse other)
public FetchStaticIpsResponse.Builder mergeFrom(FetchStaticIpsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchStaticIpsResponse |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchStaticIpsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchStaticIpsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
|
setNextPageToken(String value)
public FetchStaticIpsResponse.Builder setNextPageToken(String value) A token that 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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public FetchStaticIpsResponse.Builder setNextPageTokenBytes(ByteString value) A token that 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
This builder for chaining. |
setStaticIps(int index, String value)
public FetchStaticIpsResponse.Builder setStaticIps(int index, String value)list of static ips by account
repeated string static_ips = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe staticIps to set. |
| Returns | |
|---|---|
| Type | Description |
FetchStaticIpsResponse.Builder |
This builder for chaining. |