Class PscServiceAttachment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PscServiceAttachment.Builder>
com.google.cloud.redis.cluster.v1beta1.PscServiceAttachment.Builder
- All Implemented Interfaces:
PscServiceAttachmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PscServiceAttachment
public static final class PscServiceAttachment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PscServiceAttachment.Builder>
implements PscServiceAttachmentOrBuilder
Configuration of a service attachment of the cluster, for creating PSC connections.Protobuf type
google.cloud.redis.cluster.v1beta1.PscServiceAttachment-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PscServiceAttachment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConnectionType(ConnectionType value) Output only.setConnectionTypeValue(int value) Output only.setServiceAttachment(String value) Output only.setServiceAttachmentBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PscServiceAttachment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PscServiceAttachment.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.GeneratedMessage.Builder<PscServiceAttachment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PscServiceAttachment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PscServiceAttachment.Builder>
-
mergeFrom
public PscServiceAttachment.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<PscServiceAttachment.Builder>- Throws:
IOException
-
getServiceAttachment
Output only. Service attachment URI which your self-created PscConnection should use as target
string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAttachmentin interfacePscServiceAttachmentOrBuilder- Returns:
- The serviceAttachment.
-
getServiceAttachmentBytes
public com.google.protobuf.ByteString getServiceAttachmentBytes()Output only. Service attachment URI which your self-created PscConnection should use as target
string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAttachmentBytesin interfacePscServiceAttachmentOrBuilder- Returns:
- The bytes for serviceAttachment.
-
setServiceAttachment
Output only. Service attachment URI which your self-created PscConnection should use as target
string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The serviceAttachment to set.- Returns:
- This builder for chaining.
-
clearServiceAttachment
Output only. Service attachment URI which your self-created PscConnection should use as target
string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setServiceAttachmentBytes
Output only. Service attachment URI which your self-created PscConnection should use as target
string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for serviceAttachment to set.- Returns:
- This builder for chaining.
-
getConnectionTypeValue
public int getConnectionTypeValue()Output only. Type of a PSC connection targeting this service attachment.
.google.cloud.redis.cluster.v1beta1.ConnectionType connection_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConnectionTypeValuein interfacePscServiceAttachmentOrBuilder- Returns:
- The enum numeric value on the wire for connectionType.
-
setConnectionTypeValue
Output only. Type of a PSC connection targeting this service attachment.
.google.cloud.redis.cluster.v1beta1.ConnectionType connection_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for connectionType to set.- Returns:
- This builder for chaining.
-
getConnectionType
Output only. Type of a PSC connection targeting this service attachment.
.google.cloud.redis.cluster.v1beta1.ConnectionType connection_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConnectionTypein interfacePscServiceAttachmentOrBuilder- Returns:
- The connectionType.
-
setConnectionType
Output only. Type of a PSC connection targeting this service attachment.
.google.cloud.redis.cluster.v1beta1.ConnectionType connection_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The connectionType to set.- Returns:
- This builder for chaining.
-
clearConnectionType
Output only. Type of a PSC connection targeting this service attachment.
.google.cloud.redis.cluster.v1beta1.ConnectionType connection_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-