public static final class Provider.Builder extends GeneratedMessageV3.Builder<Provider.Builder> implements ProviderOrBuilder
A representation of the Provider resource.
Protobuf type google.cloud.eventarc.v1.Provider
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllEventTypes(Iterable<? extends EventType> values)
public Provider.Builder addAllEventTypes(Iterable<? extends EventType> values)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.eventarc.v1.EventType>
|
Returns
addEventTypes(EventType value)
public Provider.Builder addEventTypes(EventType value)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
addEventTypes(EventType.Builder builderForValue)
public Provider.Builder addEventTypes(EventType.Builder builderForValue)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
addEventTypes(int index, EventType value)
public Provider.Builder addEventTypes(int index, EventType value)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
addEventTypes(int index, EventType.Builder builderForValue)
public Provider.Builder addEventTypes(int index, EventType.Builder builderForValue)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
addEventTypesBuilder()
public EventType.Builder addEventTypesBuilder()
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
addEventTypesBuilder(int index)
public EventType.Builder addEventTypesBuilder(int index)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Provider.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Provider buildPartial()
Returns
clear()
public Provider.Builder clear()
Returns
Overrides
clearDisplayName()
public Provider.Builder clearDisplayName()
Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearEventTypes()
public Provider.Builder clearEventTypes()
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearField(Descriptors.FieldDescriptor field)
public Provider.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public Provider.Builder clearName()
Output only. In projects/{project}/locations/{location}/providers/{provider_id}
format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Provider.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Provider.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Provider getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDisplayName()
public String getDisplayName()
Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for displayName.
|
getEventTypes(int index)
public EventType getEventTypes(int index)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getEventTypesBuilder(int index)
public EventType.Builder getEventTypesBuilder(int index)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getEventTypesBuilderList()
public List<EventType.Builder> getEventTypesBuilderList()
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEventTypesCount()
public int getEventTypesCount()
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEventTypesList()
public List<EventType> getEventTypesList()
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEventTypesOrBuilder(int index)
public EventTypeOrBuilder getEventTypesOrBuilder(int index)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getEventTypesOrBuilderList()
public List<? extends EventTypeOrBuilder> getEventTypesOrBuilderList()
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
List<? extends com.google.cloud.eventarc.v1.EventTypeOrBuilder> | |
getName()
Output only. In projects/{project}/locations/{location}/providers/{provider_id}
format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. In projects/{project}/locations/{location}/providers/{provider_id}
format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Provider other)
public Provider.Builder mergeFrom(Provider other)
Parameter
Returns
public Provider.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Provider.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Provider.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEventTypes(int index)
public Provider.Builder removeEventTypes(int index)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setDisplayName(String value)
public Provider.Builder setDisplayName(String value)
Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The displayName to set.
|
Returns
setDisplayNameBytes(ByteString value)
public Provider.Builder setDisplayNameBytes(ByteString value)
Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for displayName to set.
|
Returns
setEventTypes(int index, EventType value)
public Provider.Builder setEventTypes(int index, EventType value)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
setEventTypes(int index, EventType.Builder builderForValue)
public Provider.Builder setEventTypes(int index, EventType.Builder builderForValue)
Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Provider.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public Provider.Builder setName(String value)
Output only. In projects/{project}/locations/{location}/providers/{provider_id}
format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public Provider.Builder setNameBytes(ByteString value)
Output only. In projects/{project}/locations/{location}/providers/{provider_id}
format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Provider.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Provider.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides