- 1.76.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.2.4
public static final class CreateGoogleApiSourceRequest.Builder extends GeneratedMessageV3.Builder<CreateGoogleApiSourceRequest.Builder> implements CreateGoogleApiSourceRequestOrBuilderThe request message for the CreateGoogleApiSource method.
Protobuf type google.cloud.eventarc.v1.CreateGoogleApiSourceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateGoogleApiSourceRequest.BuilderImplements
CreateGoogleApiSourceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateGoogleApiSourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
build()
public CreateGoogleApiSourceRequest build()| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest |
|
buildPartial()
public CreateGoogleApiSourceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest |
|
clear()
public CreateGoogleApiSourceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public CreateGoogleApiSourceRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
clearGoogleApiSource()
public CreateGoogleApiSourceRequest.Builder clearGoogleApiSource()Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
clearGoogleApiSourceId()
public CreateGoogleApiSourceRequest.Builder clearGoogleApiSourceId() Required. The user-provided ID to be assigned to the GoogleApiSource. It
should match the format ^a-z?$.
string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGoogleApiSourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
clearParent()
public CreateGoogleApiSourceRequest.Builder clearParent()Required. The parent collection in which to add this google api source.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public CreateGoogleApiSourceRequest.Builder clearValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |
clone()
public CreateGoogleApiSourceRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
getDefaultInstanceForType()
public CreateGoogleApiSourceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoogleApiSource()
public GoogleApiSource getGoogleApiSource()Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleApiSource |
The googleApiSource. |
getGoogleApiSourceBuilder()
public GoogleApiSource.Builder getGoogleApiSourceBuilder()Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleApiSource.Builder |
|
getGoogleApiSourceId()
public String getGoogleApiSourceId() Required. The user-provided ID to be assigned to the GoogleApiSource. It
should match the format ^a-z?$.
string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The googleApiSourceId. |
getGoogleApiSourceIdBytes()
public ByteString getGoogleApiSourceIdBytes() Required. The user-provided ID to be assigned to the GoogleApiSource. It
should match the format ^a-z?$.
string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for googleApiSourceId. |
getGoogleApiSourceOrBuilder()
public GoogleApiSourceOrBuilder getGoogleApiSourceOrBuilder()Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleApiSourceOrBuilder |
|
getParent()
public String getParent()Required. The parent collection in which to add this google api source.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent collection in which to add this google api source.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getValidateOnly()
public boolean getValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasGoogleApiSource()
public boolean hasGoogleApiSource()Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the googleApiSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateGoogleApiSourceRequest other)
public CreateGoogleApiSourceRequest.Builder mergeFrom(CreateGoogleApiSourceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateGoogleApiSourceRequest |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateGoogleApiSourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateGoogleApiSourceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
mergeGoogleApiSource(GoogleApiSource value)
public CreateGoogleApiSourceRequest.Builder mergeGoogleApiSource(GoogleApiSource value)Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GoogleApiSource |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGoogleApiSourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGoogleApiSourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
setGoogleApiSource(GoogleApiSource value)
public CreateGoogleApiSourceRequest.Builder setGoogleApiSource(GoogleApiSource value)Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GoogleApiSource |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
setGoogleApiSource(GoogleApiSource.Builder builderForValue)
public CreateGoogleApiSourceRequest.Builder setGoogleApiSource(GoogleApiSource.Builder builderForValue)Required. The google api source to create.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GoogleApiSource.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
setGoogleApiSourceId(String value)
public CreateGoogleApiSourceRequest.Builder setGoogleApiSourceId(String value) Required. The user-provided ID to be assigned to the GoogleApiSource. It
should match the format ^a-z?$.
string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe googleApiSourceId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |
setGoogleApiSourceIdBytes(ByteString value)
public CreateGoogleApiSourceRequest.Builder setGoogleApiSourceIdBytes(ByteString value) Required. The user-provided ID to be assigned to the GoogleApiSource. It
should match the format ^a-z?$.
string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for googleApiSourceId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateGoogleApiSourceRequest.Builder setParent(String value)Required. The parent collection in which to add this google api source.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateGoogleApiSourceRequest.Builder setParentBytes(ByteString value)Required. The parent collection in which to add this google api source.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGoogleApiSourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGoogleApiSourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
|
setValidateOnly(boolean value)
public CreateGoogleApiSourceRequest.Builder setValidateOnly(boolean value)Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
CreateGoogleApiSourceRequest.Builder |
This builder for chaining. |