Class Connection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
- com.google.cloud.apigeeconnect.v1.Connection.Builder
-
- All Implemented Interfaces:
ConnectionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Connection
public static final class Connection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder> implements ConnectionOrBuilder
Protobuf typegoogle.cloud.apigeeconnect.v1.Connection
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Connectionbuild()ConnectionbuildPartial()Connection.Builderclear()Connection.BuilderclearCluster()Cluster information.Connection.BuilderclearEndpoint()The endpoint that the connection is made against.Connection.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Connection.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Connection.BuilderclearStreamCount()The count of streams.Connection.Builderclone()ClustergetCluster()Cluster information.Cluster.BuildergetClusterBuilder()Cluster information.ClusterOrBuildergetClusterOrBuilder()Cluster information.ConnectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEndpoint()The endpoint that the connection is made against.com.google.protobuf.ByteStringgetEndpointBytes()The endpoint that the connection is made against.intgetStreamCount()The count of streams.booleanhasCluster()Cluster information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Connection.BuildermergeCluster(Cluster value)Cluster information.Connection.BuildermergeFrom(Connection other)Connection.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Connection.BuildermergeFrom(com.google.protobuf.Message other)Connection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Connection.BuildersetCluster(Cluster value)Cluster information.Connection.BuildersetCluster(Cluster.Builder builderForValue)Cluster information.Connection.BuildersetEndpoint(String value)The endpoint that the connection is made against.Connection.BuildersetEndpointBytes(com.google.protobuf.ByteString value)The endpoint that the connection is made against.Connection.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Connection.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Connection.BuildersetStreamCount(int value)The count of streams.Connection.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
clear
public Connection.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
getDefaultInstanceForType
public Connection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Connection build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Connection buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Connection.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
setField
public Connection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
clearField
public Connection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
clearOneof
public Connection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
setRepeatedField
public Connection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
addRepeatedField
public Connection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
mergeFrom
public Connection.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Connection.Builder>
-
mergeFrom
public Connection.Builder mergeFrom(Connection other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
mergeFrom
public Connection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Connection.Builder>- Throws:
IOException
-
getEndpoint
public String getEndpoint()
The endpoint that the connection is made against. Format: `projects/{project_number}/endpoints/{endpoint}`string endpoint = 1;- Specified by:
getEndpointin interfaceConnectionOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()
The endpoint that the connection is made against. Format: `projects/{project_number}/endpoints/{endpoint}`string endpoint = 1;- Specified by:
getEndpointBytesin interfaceConnectionOrBuilder- Returns:
- The bytes for endpoint.
-
setEndpoint
public Connection.Builder setEndpoint(String value)
The endpoint that the connection is made against. Format: `projects/{project_number}/endpoints/{endpoint}`string endpoint = 1;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
public Connection.Builder clearEndpoint()
The endpoint that the connection is made against. Format: `projects/{project_number}/endpoints/{endpoint}`string endpoint = 1;- Returns:
- This builder for chaining.
-
setEndpointBytes
public Connection.Builder setEndpointBytes(com.google.protobuf.ByteString value)
The endpoint that the connection is made against. Format: `projects/{project_number}/endpoints/{endpoint}`string endpoint = 1;- Parameters:
value- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
hasCluster
public boolean hasCluster()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;- Specified by:
hasClusterin interfaceConnectionOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
public Cluster getCluster()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;- Specified by:
getClusterin interfaceConnectionOrBuilder- Returns:
- The cluster.
-
setCluster
public Connection.Builder setCluster(Cluster value)
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
-
setCluster
public Connection.Builder setCluster(Cluster.Builder builderForValue)
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
-
mergeCluster
public Connection.Builder mergeCluster(Cluster value)
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
-
clearCluster
public Connection.Builder clearCluster()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
-
getClusterBuilder
public Cluster.Builder getClusterBuilder()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;
-
getClusterOrBuilder
public ClusterOrBuilder getClusterOrBuilder()
Cluster information.
.google.cloud.apigeeconnect.v1.Cluster cluster = 2;- Specified by:
getClusterOrBuilderin interfaceConnectionOrBuilder
-
getStreamCount
public int getStreamCount()
The count of streams.
int32 stream_count = 3;- Specified by:
getStreamCountin interfaceConnectionOrBuilder- Returns:
- The streamCount.
-
setStreamCount
public Connection.Builder setStreamCount(int value)
The count of streams.
int32 stream_count = 3;- Parameters:
value- The streamCount to set.- Returns:
- This builder for chaining.
-
clearStreamCount
public Connection.Builder clearStreamCount()
The count of streams.
int32 stream_count = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Connection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
mergeUnknownFields
public final Connection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Connection.Builder>
-
-