Package com.google.pubsub.v1
Class IngestionDataSourceSettings.AzureEventHubs.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IngestionDataSourceSettings.AzureEventHubsOrBuilder,Cloneable
- Enclosing class:
- IngestionDataSourceSettings.AzureEventHubs
public static final class IngestionDataSourceSettings.AzureEventHubs.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
implements IngestionDataSourceSettings.AzureEventHubsOrBuilder
Ingestion settings for Azure Event Hubs.Protobuf type
google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional.Output only.Optional.Optional.clone()Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getState()Output only.intOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setClientId(String value) Optional.setClientIdBytes(com.google.protobuf.ByteString value) Optional.setEventHub(String value) Optional.setEventHubBytes(com.google.protobuf.ByteString value) Optional.setGcpServiceAccount(String value) Optional.setGcpServiceAccountBytes(com.google.protobuf.ByteString value) Optional.setNamespace(String value) Optional.setNamespaceBytes(com.google.protobuf.ByteString value) Optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceGroup(String value) Optional.setResourceGroupBytes(com.google.protobuf.ByteString value) Optional.Output only.setStateValue(int value) Output only.setSubscriptionId(String value) Optional.setSubscriptionIdBytes(com.google.protobuf.ByteString value) Optional.setTenantId(String value) Optional.setTenantIdBytes(com.google.protobuf.ByteString value) Optional.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.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<IngestionDataSourceSettings.AzureEventHubs.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<IngestionDataSourceSettings.AzureEventHubs.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
setField
public IngestionDataSourceSettings.AzureEventHubs.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<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
clearField
public IngestionDataSourceSettings.AzureEventHubs.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
clearOneof
public IngestionDataSourceSettings.AzureEventHubs.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
setRepeatedField
public IngestionDataSourceSettings.AzureEventHubs.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<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
addRepeatedField
public IngestionDataSourceSettings.AzureEventHubs.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<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
mergeFrom
public IngestionDataSourceSettings.AzureEventHubs.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
mergeFrom
public IngestionDataSourceSettings.AzureEventHubs.Builder mergeFrom(IngestionDataSourceSettings.AzureEventHubs other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
mergeFrom
public IngestionDataSourceSettings.AzureEventHubs.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<IngestionDataSourceSettings.AzureEventHubs.Builder>- Throws:
IOException
-
getStateValue
public int getStateValue()Output only. An output-only field that indicates the state of the Event Hubs ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. An output-only field that indicates the state of the Event Hubs ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. An output-only field that indicates the state of the Event Hubs ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The state.
-
setState
public IngestionDataSourceSettings.AzureEventHubs.Builder setState(IngestionDataSourceSettings.AzureEventHubs.State value) Output only. An output-only field that indicates the state of the Event Hubs ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. An output-only field that indicates the state of the Event Hubs ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getResourceGroup
Optional. Name of the resource group within the azure subscription.
string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResourceGroupin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The resourceGroup.
-
getResourceGroupBytes
public com.google.protobuf.ByteString getResourceGroupBytes()Optional. Name of the resource group within the azure subscription.
string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResourceGroupBytesin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The bytes for resourceGroup.
-
setResourceGroup
Optional. Name of the resource group within the azure subscription.
string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The resourceGroup to set.- Returns:
- This builder for chaining.
-
clearResourceGroup
Optional. Name of the resource group within the azure subscription.
string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setResourceGroupBytes
public IngestionDataSourceSettings.AzureEventHubs.Builder setResourceGroupBytes(com.google.protobuf.ByteString value) Optional. Name of the resource group within the azure subscription.
string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for resourceGroup to set.- Returns:
- This builder for chaining.
-
getNamespace
Optional. The name of the Event Hubs namespace.
string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamespacein interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Optional. The name of the Event Hubs namespace.
string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamespaceBytesin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
Optional. The name of the Event Hubs namespace.
string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
Optional. The name of the Event Hubs namespace.
string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNamespaceBytes
public IngestionDataSourceSettings.AzureEventHubs.Builder setNamespaceBytes(com.google.protobuf.ByteString value) Optional. The name of the Event Hubs namespace.
string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getEventHub
Optional. The name of the Event Hub.
string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventHubin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The eventHub.
-
getEventHubBytes
public com.google.protobuf.ByteString getEventHubBytes()Optional. The name of the Event Hub.
string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventHubBytesin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The bytes for eventHub.
-
setEventHub
Optional. The name of the Event Hub.
string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The eventHub to set.- Returns:
- This builder for chaining.
-
clearEventHub
Optional. The name of the Event Hub.
string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEventHubBytes
public IngestionDataSourceSettings.AzureEventHubs.Builder setEventHubBytes(com.google.protobuf.ByteString value) Optional. The name of the Event Hub.
string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for eventHub to set.- Returns:
- This builder for chaining.
-
getClientId
Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.
string client_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientIdin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.
string client_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientIdBytesin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The bytes for clientId.
-
setClientId
Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.
string client_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.
string client_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setClientIdBytes
public IngestionDataSourceSettings.AzureEventHubs.Builder setClientIdBytes(com.google.protobuf.ByteString value) Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.
string client_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
getTenantId
Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.
string tenant_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTenantIdin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The tenantId.
-
getTenantIdBytes
public com.google.protobuf.ByteString getTenantIdBytes()Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.
string tenant_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTenantIdBytesin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The bytes for tenantId.
-
setTenantId
Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.
string tenant_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The tenantId to set.- Returns:
- This builder for chaining.
-
clearTenantId
Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.
string tenant_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setTenantIdBytes
public IngestionDataSourceSettings.AzureEventHubs.Builder setTenantIdBytes(com.google.protobuf.ByteString value) Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.
string tenant_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for tenantId to set.- Returns:
- This builder for chaining.
-
getSubscriptionId
Optional. The Azure subscription id.
string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubscriptionIdin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The subscriptionId.
-
getSubscriptionIdBytes
public com.google.protobuf.ByteString getSubscriptionIdBytes()Optional. The Azure subscription id.
string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubscriptionIdBytesin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The bytes for subscriptionId.
-
setSubscriptionId
Optional. The Azure subscription id.
string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The subscriptionId to set.- Returns:
- This builder for chaining.
-
clearSubscriptionId
Optional. The Azure subscription id.
string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setSubscriptionIdBytes
public IngestionDataSourceSettings.AzureEventHubs.Builder setSubscriptionIdBytes(com.google.protobuf.ByteString value) Optional. The Azure subscription id.
string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for subscriptionId to set.- Returns:
- This builder for chaining.
-
getGcpServiceAccount
Optional. The GCP service account to be used for Federated Identity authentication.
string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGcpServiceAccountin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The gcpServiceAccount.
-
getGcpServiceAccountBytes
public com.google.protobuf.ByteString getGcpServiceAccountBytes()Optional. The GCP service account to be used for Federated Identity authentication.
string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGcpServiceAccountBytesin interfaceIngestionDataSourceSettings.AzureEventHubsOrBuilder- Returns:
- The bytes for gcpServiceAccount.
-
setGcpServiceAccount
Optional. The GCP service account to be used for Federated Identity authentication.
string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The gcpServiceAccount to set.- Returns:
- This builder for chaining.
-
clearGcpServiceAccount
Optional. The GCP service account to be used for Federated Identity authentication.
string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setGcpServiceAccountBytes
public IngestionDataSourceSettings.AzureEventHubs.Builder setGcpServiceAccountBytes(com.google.protobuf.ByteString value) Optional. The GCP service account to be used for Federated Identity authentication.
string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for gcpServiceAccount to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final IngestionDataSourceSettings.AzureEventHubs.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
-
mergeUnknownFields
public final IngestionDataSourceSettings.AzureEventHubs.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
-