Package com.google.cloud.clouddms.v1
Class FetchStaticIpsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
- com.google.cloud.clouddms.v1.FetchStaticIpsResponse.Builder
-
- All Implemented Interfaces:
FetchStaticIpsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- FetchStaticIpsResponse
public static final class FetchStaticIpsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder> implements FetchStaticIpsResponseOrBuilder
Response message for a 'FetchStaticIps' request.
Protobuf typegoogle.cloud.clouddms.v1.FetchStaticIpsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FetchStaticIpsResponse.Builder
addAllStaticIps(Iterable<String> values)
List of static IPs.FetchStaticIpsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FetchStaticIpsResponse.Builder
addStaticIps(String value)
List of static IPs.FetchStaticIpsResponse.Builder
addStaticIpsBytes(com.google.protobuf.ByteString value)
List of static IPs.FetchStaticIpsResponse
build()
FetchStaticIpsResponse
buildPartial()
FetchStaticIpsResponse.Builder
clear()
FetchStaticIpsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FetchStaticIpsResponse.Builder
clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page.FetchStaticIpsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FetchStaticIpsResponse.Builder
clearStaticIps()
List of static IPs.FetchStaticIpsResponse.Builder
clone()
FetchStaticIpsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token that can be sent as `page_token` to retrieve the next page.String
getStaticIps(int index)
List of static IPs.com.google.protobuf.ByteString
getStaticIpsBytes(int index)
List of static IPs.int
getStaticIpsCount()
List of static IPs.com.google.protobuf.ProtocolStringList
getStaticIpsList()
List of static IPs.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FetchStaticIpsResponse.Builder
mergeFrom(FetchStaticIpsResponse other)
FetchStaticIpsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FetchStaticIpsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
FetchStaticIpsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FetchStaticIpsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FetchStaticIpsResponse.Builder
setNextPageToken(String value)
A token that can be sent as `page_token` to retrieve the next page.FetchStaticIpsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page.FetchStaticIpsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FetchStaticIpsResponse.Builder
setStaticIps(int index, String value)
List of static IPs.FetchStaticIpsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
clear
public FetchStaticIpsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
getDefaultInstanceForType
public FetchStaticIpsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FetchStaticIpsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FetchStaticIpsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FetchStaticIpsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
setField
public FetchStaticIpsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
clearField
public FetchStaticIpsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
clearOneof
public FetchStaticIpsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
setRepeatedField
public FetchStaticIpsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
addRepeatedField
public FetchStaticIpsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
mergeFrom
public FetchStaticIpsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FetchStaticIpsResponse.Builder>
-
mergeFrom
public FetchStaticIpsResponse.Builder mergeFrom(FetchStaticIpsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
mergeFrom
public FetchStaticIpsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FetchStaticIpsResponse.Builder>
- Throws:
IOException
-
getStaticIpsList
public com.google.protobuf.ProtocolStringList getStaticIpsList()
List of static IPs.
repeated string static_ips = 1;
- Specified by:
getStaticIpsList
in interfaceFetchStaticIpsResponseOrBuilder
- Returns:
- A list containing the staticIps.
-
getStaticIpsCount
public int getStaticIpsCount()
List of static IPs.
repeated string static_ips = 1;
- Specified by:
getStaticIpsCount
in interfaceFetchStaticIpsResponseOrBuilder
- Returns:
- The count of staticIps.
-
getStaticIps
public String getStaticIps(int index)
List of static IPs.
repeated string static_ips = 1;
- Specified by:
getStaticIps
in interfaceFetchStaticIpsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The staticIps at the given index.
-
getStaticIpsBytes
public com.google.protobuf.ByteString getStaticIpsBytes(int index)
List of static IPs.
repeated string static_ips = 1;
- Specified by:
getStaticIpsBytes
in interfaceFetchStaticIpsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the staticIps at the given index.
-
setStaticIps
public FetchStaticIpsResponse.Builder setStaticIps(int index, String value)
List of static IPs.
repeated string static_ips = 1;
- Parameters:
index
- The index to set the value at.value
- The staticIps to set.- Returns:
- This builder for chaining.
-
addStaticIps
public FetchStaticIpsResponse.Builder addStaticIps(String value)
List of static IPs.
repeated string static_ips = 1;
- Parameters:
value
- The staticIps to add.- Returns:
- This builder for chaining.
-
addAllStaticIps
public FetchStaticIpsResponse.Builder addAllStaticIps(Iterable<String> values)
List of static IPs.
repeated string static_ips = 1;
- Parameters:
values
- The staticIps to add.- Returns:
- This builder for chaining.
-
clearStaticIps
public FetchStaticIpsResponse.Builder clearStaticIps()
List of static IPs.
repeated string static_ips = 1;
- Returns:
- This builder for chaining.
-
addStaticIpsBytes
public FetchStaticIpsResponse.Builder addStaticIpsBytes(com.google.protobuf.ByteString value)
List of static IPs.
repeated string static_ips = 1;
- Parameters:
value
- The bytes of the staticIps to add.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getNextPageToken
in interfaceFetchStaticIpsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;
- Specified by:
getNextPageTokenBytes
in interfaceFetchStaticIpsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public FetchStaticIpsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FetchStaticIpsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
mergeUnknownFields
public final FetchStaticIpsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder>
-
-