Class Endpoint.CloudRunRevisionEndpoint.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder>
com.google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint.Builder
All Implemented Interfaces:
Endpoint.CloudRunRevisionEndpointOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Endpoint.CloudRunRevisionEndpoint

public static final class Endpoint.CloudRunRevisionEndpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder> implements Endpoint.CloudRunRevisionEndpointOrBuilder
 Wrapper for Cloud Run revision attributes.
 
Protobuf type google.cloud.networkmanagement.v1beta1.Endpoint.CloudRunRevisionEndpoint
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder>
    • getDefaultInstanceForType

      public Endpoint.CloudRunRevisionEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Endpoint.CloudRunRevisionEndpoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Endpoint.CloudRunRevisionEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder>
    • mergeFrom

      public Endpoint.CloudRunRevisionEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       A [Cloud Run](https://cloud.google.com/run)
       [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
       URI. The format is:
       projects/{project}/locations/{location}/revisions/{revision}
       
      string uri = 1;
      Specified by:
      getUri in interface Endpoint.CloudRunRevisionEndpointOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       A [Cloud Run](https://cloud.google.com/run)
       [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
       URI. The format is:
       projects/{project}/locations/{location}/revisions/{revision}
       
      string uri = 1;
      Specified by:
      getUriBytes in interface Endpoint.CloudRunRevisionEndpointOrBuilder
      Returns:
      The bytes for uri.
    • setUri

       A [Cloud Run](https://cloud.google.com/run)
       [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
       URI. The format is:
       projects/{project}/locations/{location}/revisions/{revision}
       
      string uri = 1;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

       A [Cloud Run](https://cloud.google.com/run)
       [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
       URI. The format is:
       projects/{project}/locations/{location}/revisions/{revision}
       
      string uri = 1;
      Returns:
      This builder for chaining.
    • setUriBytes

      public Endpoint.CloudRunRevisionEndpoint.Builder setUriBytes(com.google.protobuf.ByteString value)
       A [Cloud Run](https://cloud.google.com/run)
       [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
       URI. The format is:
       projects/{project}/locations/{location}/revisions/{revision}
       
      string uri = 1;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getServiceUri

      public String getServiceUri()
       Output only. The URI of the Cloud Run service that the revision belongs
       to. The format is:
       projects/{project}/locations/{location}/services/{service}
       
      string service_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceUri in interface Endpoint.CloudRunRevisionEndpointOrBuilder
      Returns:
      The serviceUri.
    • getServiceUriBytes

      public com.google.protobuf.ByteString getServiceUriBytes()
       Output only. The URI of the Cloud Run service that the revision belongs
       to. The format is:
       projects/{project}/locations/{location}/services/{service}
       
      string service_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceUriBytes in interface Endpoint.CloudRunRevisionEndpointOrBuilder
      Returns:
      The bytes for serviceUri.
    • setServiceUri

      public Endpoint.CloudRunRevisionEndpoint.Builder setServiceUri(String value)
       Output only. The URI of the Cloud Run service that the revision belongs
       to. The format is:
       projects/{project}/locations/{location}/services/{service}
       
      string service_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The serviceUri to set.
      Returns:
      This builder for chaining.
    • clearServiceUri

       Output only. The URI of the Cloud Run service that the revision belongs
       to. The format is:
       projects/{project}/locations/{location}/services/{service}
       
      string service_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setServiceUriBytes

      public Endpoint.CloudRunRevisionEndpoint.Builder setServiceUriBytes(com.google.protobuf.ByteString value)
       Output only. The URI of the Cloud Run service that the revision belongs
       to. The format is:
       projects/{project}/locations/{location}/services/{service}
       
      string service_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for serviceUri to set.
      Returns:
      This builder for chaining.