public static final class GKE.Builder extends GeneratedMessageV3.Builder<GKE.Builder> implements GKEOrBuilder
Represents a GKE destination.
Protobuf type google.events.cloud.eventarc.v1.GKE
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GKE.BuilderImplements
GKEOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GKE.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GKE.Builder |
build()
public GKE build()
Returns | |
---|---|
Type | Description |
GKE |
buildPartial()
public GKE buildPartial()
Returns | |
---|---|
Type | Description |
GKE |
clear()
public GKE.Builder clear()
Returns | |
---|---|
Type | Description |
GKE.Builder |
clearCluster()
public GKE.Builder clearCluster()
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string cluster = 1;
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GKE.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GKE.Builder |
clearLocation()
public GKE.Builder clearLocation()
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
string location = 2;
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
clearNamespace()
public GKE.Builder clearNamespace()
Required. The namespace the GKE service is running in.
string namespace = 3;
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GKE.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GKE.Builder |
clearPath()
public GKE.Builder clearPath()
Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 5;
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
clearService()
public GKE.Builder clearService()
Required. Name of the GKE service.
string service = 4;
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
clone()
public GKE.Builder clone()
Returns | |
---|---|
Type | Description |
GKE.Builder |
getCluster()
public String getCluster()
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string cluster = 1;
Returns | |
---|---|
Type | Description |
String | The cluster. |
getClusterBytes()
public ByteString getClusterBytes()
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string cluster = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for cluster. |
getDefaultInstanceForType()
public GKE getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GKE |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLocation()
public String getLocation()
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
string location = 2;
Returns | |
---|---|
Type | Description |
String | The location. |
getLocationBytes()
public ByteString getLocationBytes()
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
string location = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for location. |
getNamespace()
public String getNamespace()
Required. The namespace the GKE service is running in.
string namespace = 3;
Returns | |
---|---|
Type | Description |
String | The namespace. |
getNamespaceBytes()
public ByteString getNamespaceBytes()
Required. The namespace the GKE service is running in.
string namespace = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for namespace. |
getPath()
public String getPath()
Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 5;
Returns | |
---|---|
Type | Description |
String | The path. |
getPathBytes()
public ByteString getPathBytes()
Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for path. |
getService()
public String getService()
Required. Name of the GKE service.
string service = 4;
Returns | |
---|---|
Type | Description |
String | The service. |
getServiceBytes()
public ByteString getServiceBytes()
Required. Name of the GKE service.
string service = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for service. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GKE other)
public GKE.Builder mergeFrom(GKE other)
Parameter | |
---|---|
Name | Description |
other | GKE |
Returns | |
---|---|
Type | Description |
GKE.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GKE.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GKE.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GKE.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GKE.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GKE.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GKE.Builder |
setCluster(String value)
public GKE.Builder setCluster(String value)
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string cluster = 1;
Parameter | |
---|---|
Name | Description |
value | String The cluster to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setClusterBytes(ByteString value)
public GKE.Builder setClusterBytes(ByteString value)
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
string cluster = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for cluster to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GKE.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GKE.Builder |
setLocation(String value)
public GKE.Builder setLocation(String value)
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
string location = 2;
Parameter | |
---|---|
Name | Description |
value | String The location to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public GKE.Builder setLocationBytes(ByteString value)
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
string location = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for location to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setNamespace(String value)
public GKE.Builder setNamespace(String value)
Required. The namespace the GKE service is running in.
string namespace = 3;
Parameter | |
---|---|
Name | Description |
value | String The namespace to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setNamespaceBytes(ByteString value)
public GKE.Builder setNamespaceBytes(ByteString value)
Required. The namespace the GKE service is running in.
string namespace = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for namespace to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setPath(String value)
public GKE.Builder setPath(String value)
Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 5;
Parameter | |
---|---|
Name | Description |
value | String The path to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setPathBytes(ByteString value)
public GKE.Builder setPathBytes(ByteString value)
Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for path to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GKE.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GKE.Builder |
setService(String value)
public GKE.Builder setService(String value)
Required. Name of the GKE service.
string service = 4;
Parameter | |
---|---|
Name | Description |
value | String The service to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setServiceBytes(ByteString value)
public GKE.Builder setServiceBytes(ByteString value)
Required. Name of the GKE service.
string service = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for service to set. |
Returns | |
---|---|
Type | Description |
GKE.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GKE.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GKE.Builder |