- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
int getParametersCount();
/**
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
boolean containsParameters(java.lang.String key);
/** Use {@link #getParametersMap()} instead. */
@java.lang.Deprecated
@@ -345,38 +351,47 @@ public interface RuntimeConfigOrBuilder
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.Value getParametersOrDefault(
java.lang.String key, com.google.cloud.aiplatform.v1beta1.Value defaultValue);
/**
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.Value getParametersOrThrow(java.lang.String key);
/**
@@ -415,6 +430,71 @@ com.google.cloud.aiplatform.v1beta1.Value getParametersOrDefault(
* @return The bytes for gcsOutputDirectory.
*/
com.google.protobuf.ByteString getGcsOutputDirectoryBytes();
+
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ int getParameterValuesCount();
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ boolean containsParameterValues(java.lang.String key);
+ /** Use {@link #getParameterValuesMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ com.google.protobuf.Value getParameterValuesOrDefault(
+ java.lang.String key, com.google.protobuf.Value defaultValue);
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ com.google.protobuf.Value getParameterValuesOrThrow(java.lang.String key);
}
/**
*
@@ -493,6 +573,24 @@ private RuntimeConfig(
gcsOutputDirectory_ = s;
break;
}
+ case 26:
+ {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ parameterValues_ =
+ com.google.protobuf.MapField.newMapField(
+ ParameterValuesDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000002;
+ }
+ com.google.protobuf.MapEntry
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
@java.lang.Override
public boolean containsParameters(java.lang.String key) {
if (key == null) {
@@ -600,14 +704,17 @@ public boolean containsParameters(java.lang.String key) {
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1beta1.Value getParametersOrDefault(
java.lang.String key, com.google.cloud.aiplatform.v1beta1.Value defaultValue) {
if (key == null) {
@@ -637,14 +747,17 @@ public com.google.cloud.aiplatform.v1beta1.Value getParametersOrDefault(
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1beta1.Value getParametersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -718,6 +831,120 @@ public com.google.protobuf.ByteString getGcsOutputDirectoryBytes() {
}
}
+ public static final int PARAMETER_VALUES_FIELD_NUMBER = 3;
+
+ private static final class ParameterValuesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public boolean containsParameterValues(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetParameterValues().getMap().containsKey(key);
+ }
+ /** Use {@link #getParameterValuesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrDefault(
+ java.lang.String key, com.google.protobuf.Value defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
@java.lang.Override
public boolean containsParameters(java.lang.String key) {
if (key == null) {
@@ -1151,14 +1408,17 @@ public boolean containsParameters(java.lang.String key) {
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1beta1.Value getParametersOrDefault(
java.lang.String key, com.google.cloud.aiplatform.v1beta1.Value defaultValue) {
if (key == null) {
@@ -1188,14 +1451,17 @@ public com.google.cloud.aiplatform.v1beta1.Value getParametersOrDefault(
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1beta1.Value getParametersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -1208,6 +1474,7 @@ public com.google.cloud.aiplatform.v1beta1.Value getParametersOrThrow(java.lang.
return map.get(key);
}
+ @java.lang.Deprecated
public Builder clearParameters() {
internalGetMutableParameters().getMutableMap().clear();
return this;
@@ -1216,13 +1483,16 @@ public Builder clearParameters() {
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder removeParameters(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -1240,13 +1510,16 @@ public Builder removeParameters(java.lang.String key) {
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder putParameters(
java.lang.String key, com.google.cloud.aiplatform.v1beta1.Value value) {
if (key == null) {
@@ -1262,13 +1535,16 @@ public Builder putParameters(
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1beta1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder putAllParameters(
java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public boolean containsParameterValues(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetParameterValues().getMap().containsKey(key);
+ }
+ /** Use {@link #getParameterValuesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrDefault(
+ java.lang.String key, com.google.protobuf.Value defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ public Builder removeParameterValues(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableParameterValues().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ public Builder putParameterValues(java.lang.String key, com.google.protobuf.Value value) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ if (value == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableParameterValues().getMutableMap().put(key, value);
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ public Builder putAllParameterValues(
+ java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
int getParametersCount();
/**
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
boolean containsParameters(java.lang.String key);
/** Use {@link #getParametersMap()} instead. */
@java.lang.Deprecated
@@ -342,38 +348,47 @@ public interface RuntimeConfigOrBuilder
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1.Value getParametersOrDefault(
java.lang.String key, com.google.cloud.aiplatform.v1.Value defaultValue);
/**
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1.Value getParametersOrThrow(java.lang.String key);
/**
@@ -412,6 +427,71 @@ com.google.cloud.aiplatform.v1.Value getParametersOrDefault(
* @return The bytes for gcsOutputDirectory.
*/
com.google.protobuf.ByteString getGcsOutputDirectoryBytes();
+
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ int getParameterValuesCount();
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ boolean containsParameterValues(java.lang.String key);
+ /** Use {@link #getParameterValuesMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ com.google.protobuf.Value getParameterValuesOrDefault(
+ java.lang.String key, com.google.protobuf.Value defaultValue);
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ com.google.protobuf.Value getParameterValuesOrThrow(java.lang.String key);
}
/**
*
@@ -489,6 +569,24 @@ private RuntimeConfig(
gcsOutputDirectory_ = s;
break;
}
+ case 26:
+ {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ parameterValues_ =
+ com.google.protobuf.MapField.newMapField(
+ ParameterValuesDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000002;
+ }
+ com.google.protobuf.MapEntry
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
@java.lang.Override
public boolean containsParameters(java.lang.String key) {
if (key == null) {
@@ -593,14 +697,17 @@ public java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1.Value getParametersOrDefault(
java.lang.String key, com.google.cloud.aiplatform.v1.Value defaultValue) {
if (key == null) {
@@ -630,14 +740,17 @@ public com.google.cloud.aiplatform.v1.Value getParametersOrDefault(
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1.Value getParametersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -711,6 +824,120 @@ public com.google.protobuf.ByteString getGcsOutputDirectoryBytes() {
}
}
+ public static final int PARAMETER_VALUES_FIELD_NUMBER = 3;
+
+ private static final class ParameterValuesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public boolean containsParameterValues(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetParameterValues().getMap().containsKey(key);
+ }
+ /** Use {@link #getParameterValuesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrDefault(
+ java.lang.String key, com.google.protobuf.Value defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
@java.lang.Override
public boolean containsParameters(java.lang.String key) {
if (key == null) {
@@ -1136,14 +1393,17 @@ public java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public java.util.Map
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1.Value getParametersOrDefault(
java.lang.String key, com.google.cloud.aiplatform.v1.Value defaultValue) {
if (key == null) {
@@ -1173,14 +1436,17 @@ public com.google.cloud.aiplatform.v1.Value getParametersOrDefault(
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.aiplatform.v1.Value getParametersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -1193,6 +1459,7 @@ public com.google.cloud.aiplatform.v1.Value getParametersOrThrow(java.lang.Strin
return map.get(key);
}
+ @java.lang.Deprecated
public Builder clearParameters() {
internalGetMutableParameters().getMutableMap().clear();
return this;
@@ -1201,13 +1468,16 @@ public Builder clearParameters() {
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder removeParameters(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -1225,13 +1495,16 @@ public Builder removeParameters(java.lang.String key) {
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder putParameters(
java.lang.String key, com.google.cloud.aiplatform.v1.Value value) {
if (key == null) {
@@ -1247,13 +1520,16 @@ public Builder putParameters(
*
*
*
- * The runtime parameters of the PipelineJob. The parameters will be
- * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- * at runtime.
+ * Deprecated. Use [RuntimeConfig.parameter_values] instead. The runtime
+ * parameters of the PipelineJob. The parameters will be passed into
+ * [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
*
*
- * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1;
+ *
+ * map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder putAllParameters(
java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public boolean containsParameterValues(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetParameterValues().getMap().containsKey(key);
+ }
+ /** Use {@link #getParameterValuesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrDefault(
+ java.lang.String key, com.google.protobuf.Value defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getParameterValuesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ public Builder removeParameterValues(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableParameterValues().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map+ * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ public Builder putParameterValues(java.lang.String key, com.google.protobuf.Value value) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ if (value == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableParameterValues().getMutableMap().put(key, value);
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The runtime parameters of the PipelineJob. The parameters will be + * passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders + * at runtime. + *+ * + *
map<string, .google.protobuf.Value> parameter_values = 3;
+ */
+ public Builder putAllParameterValues(
+ java.util.Map+ * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the updateTime field is set.
+ */
+ boolean hasUpdateTime();
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The updateTime.
+ */
+ com.google.protobuf.Timestamp getUpdateTime();
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.State getState();
+
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the error field is set.
+ */
+ boolean hasError();
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The error.
+ */
+ com.google.rpc.Status getError();
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ com.google.rpc.StatusOrBuilder getErrorOrBuilder();
+ }
+ /**
+ *
+ *
+ * + * A single record of the task status. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus} + */ + public static final class PipelineTaskStatus extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus) + PipelineTaskStatusOrBuilder { + private static final long serialVersionUID = 0L; + // Use PipelineTaskStatus.newBuilder() to construct. + private PipelineTaskStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private PipelineTaskStatus() { + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PipelineTaskStatus(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PipelineTaskStatus( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 16: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 26: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineTaskDetail_PipelineTaskStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineTaskDetail_PipelineTaskStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.class, + com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder.class); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+ * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the updateTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasUpdateTime() {
+ return updateTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The updateTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ return getUpdateTime();
+ }
+
+ public static final int STATE_FIELD_NUMBER = 2;
+ private int state_;
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override
+ public int getStateValue() {
+ return state_;
+ }
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.State getState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.State result =
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.State.valueOf(state_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1.PipelineTaskDetail.State.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int ERROR_FIELD_NUMBER = 3;
+ private com.google.rpc.Status error_;
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the error field is set.
+ */
+ @java.lang.Override
+ public boolean hasError() {
+ return error_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The error.
+ */
+ @java.lang.Override
+ public com.google.rpc.Status getError() {
+ return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+ }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ @java.lang.Override
+ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
+ return getError();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (updateTime_ != null) {
+ output.writeMessage(1, getUpdateTime());
+ }
+ if (state_
+ != com.google.cloud.aiplatform.v1.PipelineTaskDetail.State.STATE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(2, state_);
+ }
+ if (error_ != null) {
+ output.writeMessage(3, getError());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (updateTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime());
+ }
+ if (state_
+ != com.google.cloud.aiplatform.v1.PipelineTaskDetail.State.STATE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_);
+ }
+ if (error_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus other =
+ (com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus) obj;
+
+ if (hasUpdateTime() != other.hasUpdateTime()) return false;
+ if (hasUpdateTime()) {
+ if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+ }
+ if (state_ != other.state_) return false;
+ if (hasError() != other.hasError()) return false;
+ if (hasError()) {
+ if (!getError().equals(other.getError())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasUpdateTime()) {
+ hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateTime().hashCode();
+ }
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ if (hasError()) {
+ hash = (37 * hash) + ERROR_FIELD_NUMBER;
+ hash = (53 * hash) + getError().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * A single record of the task status. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the updateTime field is set.
+ */
+ public boolean hasUpdateTime() {
+ return updateTimeBuilder_ != null || updateTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The updateTime.
+ */
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ if (updateTimeBuilder_ == null) {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ } else {
+ return updateTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateTime_ = value;
+ onChanged();
+ } else {
+ updateTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ updateTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (updateTime_ != null) {
+ updateTime_ =
+ com.google.protobuf.Timestamp.newBuilder(updateTime_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ updateTime_ = value;
+ }
+ onChanged();
+ } else {
+ updateTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearUpdateTime() {
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = null;
+ onChanged();
+ } else {
+ updateTime_ = null;
+ updateTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
+
+ onChanged();
+ return getUpdateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ if (updateTimeBuilder_ != null) {
+ return updateTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Update time of this status. + *+ * + *
+ * .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getUpdateTimeFieldBuilder() {
+ if (updateTimeBuilder_ == null) {
+ updateTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getUpdateTime(), getParentForChildren(), isClean());
+ updateTime_ = null;
+ }
+ return updateTimeBuilder_;
+ }
+
+ private int state_ = 0;
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override
+ public int getStateValue() {
+ return state_;
+ }
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.State getState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.State result =
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.State.valueOf(state_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1.PipelineTaskDetail.State.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(com.google.cloud.aiplatform.v1.PipelineTaskDetail.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The state of the task. + *+ * + *
+ * .google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.rpc.Status error_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+ errorBuilder_;
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the error field is set.
+ */
+ public boolean hasError() {
+ return errorBuilder_ != null || error_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The error.
+ */
+ public com.google.rpc.Status getError() {
+ if (errorBuilder_ == null) {
+ return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+ } else {
+ return errorBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ public Builder setError(com.google.rpc.Status value) {
+ if (errorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ error_ = value;
+ onChanged();
+ } else {
+ errorBuilder_.setMessage(value);
+ }
+
+ return this;
}
- return value;
- }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
+ if (errorBuilder_ == null) {
+ error_ = builderForValue.build();
+ onChanged();
+ } else {
+ errorBuilder_.setMessage(builderForValue.build());
+ }
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- * @deprecated Use {@link #forNumber(int)} instead.
- */
- @java.lang.Deprecated
- public static State valueOf(int value) {
- return forNumber(value);
- }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ public Builder mergeError(com.google.rpc.Status value) {
+ if (errorBuilder_ == null) {
+ if (error_ != null) {
+ error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+ } else {
+ error_ = value;
+ }
+ onChanged();
+ } else {
+ errorBuilder_.mergeFrom(value);
+ }
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- */
- public static State forNumber(int value) {
- switch (value) {
- case 0:
- return STATE_UNSPECIFIED;
- case 1:
- return PENDING;
- case 2:
- return RUNNING;
- case 3:
- return SUCCEEDED;
- case 4:
- return CANCEL_PENDING;
- case 5:
- return CANCELLING;
- case 6:
- return CANCELLED;
- case 7:
- return FAILED;
- case 8:
- return SKIPPED;
- case 9:
- return NOT_TRIGGERED;
- default:
- return null;
+ return this;
}
- }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ public Builder clearError() {
+ if (errorBuilder_ == null) {
+ error_ = null;
+ onChanged();
+ } else {
+ error_ = null;
+ errorBuilder_ = null;
+ }
- public static com.google.protobuf.Internal.EnumLiteMap+ * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ public com.google.rpc.Status.Builder getErrorBuilder() {
- private static final com.google.protobuf.Internal.EnumLiteMap+ * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
+ if (errorBuilder_ != null) {
+ return errorBuilder_.getMessageOrBuilder();
+ } else {
+ return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The error that occurred during the state. May be set when the state is + * any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + * If the state is FAILED, the error here is final and not going to be + * retried. + * If the state is a non-final state, the error indicates a system-error + * being retried. + *+ * + *
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+ getErrorFieldBuilder() {
+ if (errorBuilder_ == null) {
+ errorBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.rpc.Status,
+ com.google.rpc.Status.Builder,
+ com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
+ error_ = null;
+ }
+ return errorBuilder_;
+ }
- public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
- if (this == UNRECOGNIZED) {
- throw new java.lang.IllegalStateException(
- "Can't get the descriptor of an unrecognized enum value.");
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
}
- return getDescriptor().getValues().get(ordinal());
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus)
}
- public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
- return getDescriptor();
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus)
+ private static final com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus();
}
- public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
- return com.google.cloud.aiplatform.v1.PipelineTaskDetail.getDescriptor()
- .getEnumTypes()
- .get(0);
+ public static com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
}
- private static final State[] VALUES = values();
+ private static final com.google.protobuf.Parser+ * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder>
+ getPipelineTaskStatusOrBuilderList() {
+ return pipelineTaskStatus_;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getPipelineTaskStatusCount() {
+ return pipelineTaskStatus_.size();
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus getPipelineTaskStatus(
+ int index) {
+ return pipelineTaskStatus_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder
+ getPipelineTaskStatusOrBuilder(int index) {
+ return pipelineTaskStatus_.get(index);
+ }
+
public static final int INPUTS_FIELD_NUMBER = 10;
private static final class InputsDefaultEntryHolder {
@@ -2375,6 +3854,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (parentTaskId_ != 0L) {
output.writeInt64(12, parentTaskId_);
}
+ for (int i = 0; i < pipelineTaskStatus_.size(); i++) {
+ output.writeMessage(13, pipelineTaskStatus_.get(i));
+ }
unknownFields.writeTo(output);
}
@@ -2441,6 +3923,10 @@ public int getSerializedSize() {
if (parentTaskId_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, parentTaskId_);
}
+ for (int i = 0; i < pipelineTaskStatus_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(13, pipelineTaskStatus_.get(i));
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2485,6 +3971,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasError()) {
if (!getError().equals(other.getError())) return false;
}
+ if (!getPipelineTaskStatusList().equals(other.getPipelineTaskStatusList())) return false;
if (!internalGetInputs().equals(other.internalGetInputs())) return false;
if (!internalGetOutputs().equals(other.internalGetOutputs())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
@@ -2530,6 +4017,10 @@ public int hashCode() {
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
}
+ if (getPipelineTaskStatusCount() > 0) {
+ hash = (37 * hash) + PIPELINE_TASK_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getPipelineTaskStatusList().hashCode();
+ }
if (!internalGetInputs().getMap().isEmpty()) {
hash = (37 * hash) + INPUTS_FIELD_NUMBER;
hash = (53 * hash) + internalGetInputs().hashCode();
@@ -2701,7 +4192,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getPipelineTaskStatusFieldBuilder();
+ }
}
@java.lang.Override
@@ -2751,6 +4244,12 @@ public Builder clear() {
error_ = null;
errorBuilder_ = null;
}
+ if (pipelineTaskStatusBuilder_ == null) {
+ pipelineTaskStatus_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ pipelineTaskStatusBuilder_.clear();
+ }
internalGetMutableInputs().clear();
internalGetMutableOutputs().clear();
return this;
@@ -2815,6 +4314,15 @@ public com.google.cloud.aiplatform.v1.PipelineTaskDetail buildPartial() {
} else {
result.error_ = errorBuilder_.build();
}
+ if (pipelineTaskStatusBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ pipelineTaskStatus_ = java.util.Collections.unmodifiableList(pipelineTaskStatus_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.pipelineTaskStatus_ = pipelineTaskStatus_;
+ } else {
+ result.pipelineTaskStatus_ = pipelineTaskStatusBuilder_.build();
+ }
result.inputs_ = internalGetInputs();
result.inputs_.makeImmutable();
result.outputs_ = internalGetOutputs();
@@ -2900,6 +4408,33 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.PipelineTaskDetail other
if (other.hasError()) {
mergeError(other.getError());
}
+ if (pipelineTaskStatusBuilder_ == null) {
+ if (!other.pipelineTaskStatus_.isEmpty()) {
+ if (pipelineTaskStatus_.isEmpty()) {
+ pipelineTaskStatus_ = other.pipelineTaskStatus_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.addAll(other.pipelineTaskStatus_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.pipelineTaskStatus_.isEmpty()) {
+ if (pipelineTaskStatusBuilder_.isEmpty()) {
+ pipelineTaskStatusBuilder_.dispose();
+ pipelineTaskStatusBuilder_ = null;
+ pipelineTaskStatus_ = other.pipelineTaskStatus_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ pipelineTaskStatusBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getPipelineTaskStatusFieldBuilder()
+ : null;
+ } else {
+ pipelineTaskStatusBuilder_.addAllMessages(other.pipelineTaskStatus_);
+ }
+ }
+ }
internalGetMutableInputs().mergeFrom(other.internalGetInputs());
internalGetMutableOutputs().mergeFrom(other.internalGetOutputs());
this.mergeUnknownFields(other.unknownFields);
@@ -4425,6 +5960,439 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
return errorBuilder_;
}
+ private java.util.List+ * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List+ * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getPipelineTaskStatusCount() {
+ if (pipelineTaskStatusBuilder_ == null) {
+ return pipelineTaskStatus_.size();
+ } else {
+ return pipelineTaskStatusBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus
+ getPipelineTaskStatus(int index) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ return pipelineTaskStatus_.get(index);
+ } else {
+ return pipelineTaskStatusBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setPipelineTaskStatus(
+ int index, com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus value) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.set(index, value);
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setPipelineTaskStatus(
+ int index,
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder
+ builderForValue) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPipelineTaskStatus(
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus value) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.add(value);
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPipelineTaskStatus(
+ int index, com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus value) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.add(index, value);
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPipelineTaskStatus(
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder
+ builderForValue) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.add(builderForValue.build());
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPipelineTaskStatus(
+ int index,
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder
+ builderForValue) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllPipelineTaskStatus(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus>
+ values) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ ensurePipelineTaskStatusIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pipelineTaskStatus_);
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearPipelineTaskStatus() {
+ if (pipelineTaskStatusBuilder_ == null) {
+ pipelineTaskStatus_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removePipelineTaskStatus(int index) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ ensurePipelineTaskStatusIsMutable();
+ pipelineTaskStatus_.remove(index);
+ onChanged();
+ } else {
+ pipelineTaskStatusBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder
+ getPipelineTaskStatusBuilder(int index) {
+ return getPipelineTaskStatusFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder
+ getPipelineTaskStatusOrBuilder(int index) {
+ if (pipelineTaskStatusBuilder_ == null) {
+ return pipelineTaskStatus_.get(index);
+ } else {
+ return pipelineTaskStatusBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder>
+ getPipelineTaskStatusOrBuilderList() {
+ if (pipelineTaskStatusBuilder_ != null) {
+ return pipelineTaskStatusBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(pipelineTaskStatus_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder
+ addPipelineTaskStatusBuilder() {
+ return getPipelineTaskStatusFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder
+ addPipelineTaskStatusBuilder(int index) {
+ return getPipelineTaskStatusFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder>
+ getPipelineTaskStatusBuilderList() {
+ return getPipelineTaskStatusFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus,
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder,
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder>
+ getPipelineTaskStatusFieldBuilder() {
+ if (pipelineTaskStatusBuilder_ == null) {
+ pipelineTaskStatusBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus,
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus.Builder,
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder>(
+ pipelineTaskStatus_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ pipelineTaskStatus_ = null;
+ }
+ return pipelineTaskStatusBuilder_;
+ }
+
private com.google.protobuf.MapField<
java.lang.String, com.google.cloud.aiplatform.v1.PipelineTaskDetail.ArtifactList>
inputs_;
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskDetailOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskDetailOrBuilder.java
index bc4588cb0..8ac430ee1 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskDetailOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskDetailOrBuilder.java
@@ -340,6 +340,77 @@ public interface PipelineTaskDetailOrBuilder
*/
com.google.rpc.StatusOrBuilder getErrorOrBuilder();
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List+ * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus getPipelineTaskStatus(
+ int index);
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getPipelineTaskStatusCount();
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder>
+ getPipelineTaskStatusOrBuilderList();
+ /**
+ *
+ *
+ * + * Output only. A list of task status. This field keeps a record of task status evolving + * over time. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus pipeline_task_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusOrBuilder
+ getPipelineTaskStatusOrBuilder(int index);
+
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
index cb32483fd..497170c11 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
@@ -50,10 +50,10 @@ message PipelineJob {
// The runtime config of a PipelineJob.
message RuntimeConfig {
- // The runtime parameters of the PipelineJob. The parameters will be
- // passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders
- // at runtime.
- map{@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
- * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Featurestore featurestore = Featurestore.newBuilder().build();
* Featurestore response =
* featurestoreServiceClient.createFeaturestoreAsync(parent, featurestore).get();
@@ -236,8 +236,7 @@ public final OperationsClient getOperationsClient() {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* CreateFeaturestoreRequest request =
* CreateFeaturestoreRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFeaturestore(Featurestore.newBuilder().build())
* .setFeaturestoreId("featurestoreId-1315851738")
* .build();
@@ -263,8 +262,7 @@ public final OperationsClient getOperationsClient() {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* CreateFeaturestoreRequest request =
* CreateFeaturestoreRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFeaturestore(Featurestore.newBuilder().build())
* .setFeaturestoreId("featurestoreId-1315851738")
* .build();
@@ -291,8 +289,7 @@ public final OperationsClient getOperationsClient() {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* CreateFeaturestoreRequest request =
* CreateFeaturestoreRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFeaturestore(Featurestore.newBuilder().build())
* .setFeaturestoreId("featurestoreId-1315851738")
* .build();
@@ -432,7 +429,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(LocationName paren
*
* {@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
- * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Featurestore element :
* featurestoreServiceClient.listFeaturestores(parent).iterateAll()) {
* // doThingsWith(element);
@@ -460,8 +457,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(String parent) {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* ListFeaturestoresRequest request =
* ListFeaturestoresRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -492,8 +488,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* ListFeaturestoresRequest request =
* ListFeaturestoresRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -524,8 +519,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* ListFeaturestoresRequest request =
* ListFeaturestoresRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1124,9 +1118,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(FeaturestoreName paren
*
* {@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
- * String parent =
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString();
+ * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
* for (EntityType element : featurestoreServiceClient.listEntityTypes(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -1153,8 +1145,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) {
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString())
+ * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1185,8 +1176,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString())
+ * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1218,8 +1208,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString())
+ * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1957,7 +1946,7 @@ public final ListFeaturesPagedResponse listFeatures(EntityTypeName parent) {
* {@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* String parent =
- * FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString();
* for (Feature element : featurestoreServiceClient.listFeatures(parent).iterateAll()) {
* // doThingsWith(element);
@@ -1985,8 +1974,7 @@ public final ListFeaturesPagedResponse listFeatures(String parent) {
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
* .setParent(
- * FeatureName.of(
- * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -2019,8 +2007,7 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request)
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
* .setParent(
- * FeatureName.of(
- * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -2054,8 +2041,7 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request)
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
* .setParent(
- * FeatureName.of(
- * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java
index a3769c0b1..fd9a6cde9 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java
@@ -954,7 +954,7 @@ public final ListArtifactsPagedResponse listArtifacts(MetadataStoreName parent)
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (Artifact element : metadataServiceClient.listArtifacts(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -981,8 +981,7 @@ public final ListArtifactsPagedResponse listArtifacts(String parent) {
* ListArtifactsRequest request =
* ListArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1011,8 +1010,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque
* ListArtifactsRequest request =
* ListArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1042,8 +1040,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque
* ListArtifactsRequest request =
* ListArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1310,7 +1307,7 @@ public final OperationFuture pur
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* PurgeArtifactsResponse response = metadataServiceClient.purgeArtifactsAsync(parent).get();
* }
* }
@@ -1336,8 +1333,7 @@ public final OperationFuture pur
* PurgeArtifactsRequest request =
* PurgeArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -1364,8 +1360,7 @@ public final OperationFuture pur
* PurgeArtifactsRequest request =
* PurgeArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -1393,8 +1388,7 @@ public final OperationFuture pur
* PurgeArtifactsRequest request =
* PurgeArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -1666,7 +1660,7 @@ public final ListContextsPagedResponse listContexts(MetadataStoreName parent) {
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (Context element : metadataServiceClient.listContexts(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -1693,8 +1687,7 @@ public final ListContextsPagedResponse listContexts(String parent) {
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1723,8 +1716,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1754,8 +1746,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -2022,7 +2013,7 @@ public final OperationFuture purge
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* PurgeContextsResponse response = metadataServiceClient.purgeContextsAsync(parent).get();
* }
* }
@@ -2048,8 +2039,7 @@ public final OperationFuture purge
* PurgeContextsRequest request =
* PurgeContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -2076,8 +2066,7 @@ public final OperationFuture purge
* PurgeContextsRequest request =
* PurgeContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -2104,8 +2093,7 @@ public final OperationFuture purge
* PurgeContextsRequest request =
* PurgeContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -2762,7 +2750,7 @@ public final ListExecutionsPagedResponse listExecutions(MetadataStoreName parent
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (Execution element : metadataServiceClient.listExecutions(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -2789,8 +2777,7 @@ public final ListExecutionsPagedResponse listExecutions(String parent) {
* ListExecutionsRequest request =
* ListExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -2819,8 +2806,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* ListExecutionsRequest request =
* ListExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -2850,8 +2836,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* ListExecutionsRequest request =
* ListExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -3122,7 +3107,7 @@ public final UnaryCallable deleteExecutionCal
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* PurgeExecutionsResponse response = metadataServiceClient.purgeExecutionsAsync(parent).get();
* }
* }
@@ -3148,8 +3133,7 @@ public final UnaryCallable deleteExecutionCal
* PurgeExecutionsRequest request =
* PurgeExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -3176,8 +3160,7 @@ public final UnaryCallable deleteExecutionCal
* PurgeExecutionsRequest request =
* PurgeExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -3205,8 +3188,7 @@ public final UnaryCallable deleteExecutionCal
* PurgeExecutionsRequest request =
* PurgeExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -3725,8 +3707,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(MetadataStoreN
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * MetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (MetadataSchema element :
* metadataServiceClient.listMetadataSchemas(parent).iterateAll()) {
* // doThingsWith(element);
@@ -3755,9 +3736,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(String parent)
* ListMetadataSchemasRequest request =
* ListMetadataSchemasRequest.newBuilder()
* .setParent(
- * MetadataSchemaName.of(
- * "[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -3788,9 +3767,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(
* ListMetadataSchemasRequest request =
* ListMetadataSchemasRequest.newBuilder()
* .setParent(
- * MetadataSchemaName.of(
- * "[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -3820,9 +3797,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(
* ListMetadataSchemasRequest request =
* ListMetadataSchemasRequest.newBuilder()
* .setParent(
- * MetadataSchemaName.of(
- * "[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java
index b49756ecb..5d124433a 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java
@@ -205,7 +205,7 @@ public final OperationsClient getOperationsClient() {
*
* {@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
- * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Featurestore featurestore = Featurestore.newBuilder().build();
* Featurestore response =
* featurestoreServiceClient.createFeaturestoreAsync(parent, featurestore).get();
@@ -237,8 +237,7 @@ public final OperationsClient getOperationsClient() {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* CreateFeaturestoreRequest request =
* CreateFeaturestoreRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFeaturestore(Featurestore.newBuilder().build())
* .setFeaturestoreId("featurestoreId-1315851738")
* .build();
@@ -264,8 +263,7 @@ public final OperationsClient getOperationsClient() {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* CreateFeaturestoreRequest request =
* CreateFeaturestoreRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFeaturestore(Featurestore.newBuilder().build())
* .setFeaturestoreId("featurestoreId-1315851738")
* .build();
@@ -292,8 +290,7 @@ public final OperationsClient getOperationsClient() {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* CreateFeaturestoreRequest request =
* CreateFeaturestoreRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFeaturestore(Featurestore.newBuilder().build())
* .setFeaturestoreId("featurestoreId-1315851738")
* .build();
@@ -433,7 +430,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(LocationName paren
*
* {@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
- * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Featurestore element :
* featurestoreServiceClient.listFeaturestores(parent).iterateAll()) {
* // doThingsWith(element);
@@ -461,8 +458,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(String parent) {
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* ListFeaturestoresRequest request =
* ListFeaturestoresRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -493,8 +489,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* ListFeaturestoresRequest request =
* ListFeaturestoresRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -525,8 +520,7 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* ListFeaturestoresRequest request =
* ListFeaturestoresRequest.newBuilder()
- * .setParent(
- * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1125,9 +1119,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(FeaturestoreName paren
*
* {@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
- * String parent =
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString();
+ * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
* for (EntityType element : featurestoreServiceClient.listEntityTypes(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -1154,8 +1146,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) {
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString())
+ * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1186,8 +1177,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString())
+ * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1219,8 +1209,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
- * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
- * .toString())
+ * FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1958,7 +1947,7 @@ public final ListFeaturesPagedResponse listFeatures(EntityTypeName parent) {
* {@code
* try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
* String parent =
- * FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString();
* for (Feature element : featurestoreServiceClient.listFeatures(parent).iterateAll()) {
* // doThingsWith(element);
@@ -1986,8 +1975,7 @@ public final ListFeaturesPagedResponse listFeatures(String parent) {
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
* .setParent(
- * FeatureName.of(
- * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -2020,8 +2008,7 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request)
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
* .setParent(
- * FeatureName.of(
- * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -2055,8 +2042,7 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request)
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
* .setParent(
- * FeatureName.of(
- * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java
index 66c44e75e..2344f3730 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java
@@ -955,7 +955,7 @@ public final ListArtifactsPagedResponse listArtifacts(MetadataStoreName parent)
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (Artifact element : metadataServiceClient.listArtifacts(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -982,8 +982,7 @@ public final ListArtifactsPagedResponse listArtifacts(String parent) {
* ListArtifactsRequest request =
* ListArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1012,8 +1011,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque
* ListArtifactsRequest request =
* ListArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1043,8 +1041,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque
* ListArtifactsRequest request =
* ListArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1311,7 +1308,7 @@ public final OperationFuture pur
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* PurgeArtifactsResponse response = metadataServiceClient.purgeArtifactsAsync(parent).get();
* }
* }
@@ -1337,8 +1334,7 @@ public final OperationFuture pur
* PurgeArtifactsRequest request =
* PurgeArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -1365,8 +1361,7 @@ public final OperationFuture pur
* PurgeArtifactsRequest request =
* PurgeArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -1394,8 +1389,7 @@ public final OperationFuture pur
* PurgeArtifactsRequest request =
* PurgeArtifactsRequest.newBuilder()
* .setParent(
- * ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -1667,7 +1661,7 @@ public final ListContextsPagedResponse listContexts(MetadataStoreName parent) {
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (Context element : metadataServiceClient.listContexts(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -1694,8 +1688,7 @@ public final ListContextsPagedResponse listContexts(String parent) {
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1724,8 +1717,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1755,8 +1747,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -2023,7 +2014,7 @@ public final OperationFuture purge
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* PurgeContextsResponse response = metadataServiceClient.purgeContextsAsync(parent).get();
* }
* }
@@ -2049,8 +2040,7 @@ public final OperationFuture purge
* PurgeContextsRequest request =
* PurgeContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -2077,8 +2067,7 @@ public final OperationFuture purge
* PurgeContextsRequest request =
* PurgeContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -2105,8 +2094,7 @@ public final OperationFuture purge
* PurgeContextsRequest request =
* PurgeContextsRequest.newBuilder()
* .setParent(
- * ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -2763,7 +2751,7 @@ public final ListExecutionsPagedResponse listExecutions(MetadataStoreName parent
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (Execution element : metadataServiceClient.listExecutions(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -2790,8 +2778,7 @@ public final ListExecutionsPagedResponse listExecutions(String parent) {
* ListExecutionsRequest request =
* ListExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -2820,8 +2807,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* ListExecutionsRequest request =
* ListExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -2851,8 +2837,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* ListExecutionsRequest request =
* ListExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -3123,7 +3108,7 @@ public final UnaryCallable deleteExecutionCal
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* PurgeExecutionsResponse response = metadataServiceClient.purgeExecutionsAsync(parent).get();
* }
* }
@@ -3149,8 +3134,7 @@ public final UnaryCallable deleteExecutionCal
* PurgeExecutionsRequest request =
* PurgeExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -3177,8 +3161,7 @@ public final UnaryCallable deleteExecutionCal
* PurgeExecutionsRequest request =
* PurgeExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -3206,8 +3189,7 @@ public final UnaryCallable deleteExecutionCal
* PurgeExecutionsRequest request =
* PurgeExecutionsRequest.newBuilder()
* .setParent(
- * ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setFilter("filter-1274492040")
* .setForce(true)
* .build();
@@ -3726,8 +3708,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(MetadataStoreN
* {@code
* try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
* String parent =
- * MetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString();
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
* for (MetadataSchema element :
* metadataServiceClient.listMetadataSchemas(parent).iterateAll()) {
* // doThingsWith(element);
@@ -3756,9 +3737,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(String parent)
* ListMetadataSchemasRequest request =
* ListMetadataSchemasRequest.newBuilder()
* .setParent(
- * MetadataSchemaName.of(
- * "[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -3789,9 +3768,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(
* ListMetadataSchemasRequest request =
* ListMetadataSchemasRequest.newBuilder()
* .setParent(
- * MetadataSchemaName.of(
- * "[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -3821,9 +3798,7 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(
* ListMetadataSchemasRequest request =
* ListMetadataSchemasRequest.newBuilder()
* .setParent(
- * MetadataSchemaName.of(
- * "[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
- * .toString())
+ * MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java
index 7557a6b2e..70dcd27ae 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java
@@ -535,7 +535,7 @@ public final ListTensorboardsPagedResponse listTensorboards(LocationName parent)
*
* {@code
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
- * String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Tensorboard element : tensorboardServiceClient.listTensorboards(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -562,7 +562,7 @@ public final ListTensorboardsPagedResponse listTensorboards(String parent) {
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* ListTensorboardsRequest request =
* ListTensorboardsRequest.newBuilder()
- * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -592,7 +592,7 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* ListTensorboardsRequest request =
* ListTensorboardsRequest.newBuilder()
- * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -623,7 +623,7 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* ListTensorboardsRequest request =
* ListTensorboardsRequest.newBuilder()
- * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1136,9 +1136,7 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
*
* {@code
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
- * String parent =
- * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
- * .toString();
+ * String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
* for (TensorboardExperiment element :
* tensorboardServiceClient.listTensorboardExperiments(parent).iterateAll()) {
* // doThingsWith(element);
@@ -1166,10 +1164,7 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* ListTensorboardExperimentsRequest request =
* ListTensorboardExperimentsRequest.newBuilder()
- * .setParent(
- * TensorboardExperimentName.of(
- * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
- * .toString())
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1201,10 +1196,7 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* ListTensorboardExperimentsRequest request =
* ListTensorboardExperimentsRequest.newBuilder()
- * .setParent(
- * TensorboardExperimentName.of(
- * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
- * .toString())
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1236,10 +1228,7 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* ListTensorboardExperimentsRequest request =
* ListTensorboardExperimentsRequest.newBuilder()
- * .setParent(
- * TensorboardExperimentName.of(
- * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
- * .toString())
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
@@ -1889,7 +1878,7 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
* {@code
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* String parent =
- * TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
* .toString();
* for (TensorboardRun element :
* tensorboardServiceClient.listTensorboardRuns(parent).iterateAll()) {
@@ -1920,8 +1909,8 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(String parent)
* ListTensorboardRunsRequest request =
* ListTensorboardRunsRequest.newBuilder()
* .setParent(
- * TensorboardRunName.of(
- * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -1955,8 +1944,8 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
* ListTensorboardRunsRequest request =
* ListTensorboardRunsRequest.newBuilder()
* .setParent(
- * TensorboardRunName.of(
- * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -1989,8 +1978,8 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
* ListTensorboardRunsRequest request =
* ListTensorboardRunsRequest.newBuilder()
* .setParent(
- * TensorboardRunName.of(
- * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -2675,13 +2664,7 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
* {@code
* try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
* String parent =
- * TensorboardTimeSeriesName.of(
- * "[PROJECT]",
- * "[LOCATION]",
- * "[TENSORBOARD]",
- * "[EXPERIMENT]",
- * "[RUN]",
- * "[TIME_SERIES]")
+ * TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
* .toString();
* for (TensorboardTimeSeries element :
* tensorboardServiceClient.listTensorboardTimeSeries(parent).iterateAll()) {
@@ -2712,13 +2695,8 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(St
* ListTensorboardTimeSeriesRequest request =
* ListTensorboardTimeSeriesRequest.newBuilder()
* .setParent(
- * TensorboardTimeSeriesName.of(
- * "[PROJECT]",
- * "[LOCATION]",
- * "[TENSORBOARD]",
- * "[EXPERIMENT]",
- * "[RUN]",
- * "[TIME_SERIES]")
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -2752,13 +2730,8 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
* ListTensorboardTimeSeriesRequest request =
* ListTensorboardTimeSeriesRequest.newBuilder()
* .setParent(
- * TensorboardTimeSeriesName.of(
- * "[PROJECT]",
- * "[LOCATION]",
- * "[TENSORBOARD]",
- * "[EXPERIMENT]",
- * "[RUN]",
- * "[TIME_SERIES]")
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
@@ -2792,13 +2765,8 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
* ListTensorboardTimeSeriesRequest request =
* ListTensorboardTimeSeriesRequest.newBuilder()
* .setParent(
- * TensorboardTimeSeriesName.of(
- * "[PROJECT]",
- * "[LOCATION]",
- * "[TENSORBOARD]",
- * "[EXPERIMENT]",
- * "[RUN]",
- * "[TIME_SERIES]")
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceGrpc.java
index 4fffade87..ea4ca7962 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/dataset_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class DatasetServiceGrpc {
private DatasetServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceGrpc.java
index 0439c52a2..aadc99aa3 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/endpoint_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class EndpointServiceGrpc {
private EndpointServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceGrpc.java
index 844ce6c7a..49f389dfd 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/featurestore_online_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class FeaturestoreOnlineServingServiceGrpc {
private FeaturestoreOnlineServingServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceGrpc.java
index 90a2c651c..49c037351 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/featurestore_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class FeaturestoreServiceGrpc {
private FeaturestoreServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceGrpc.java
index bd402a9ad..d4d2e32b2 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/index_endpoint_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class IndexEndpointServiceGrpc {
private IndexEndpointServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java
index 2107b42cf..1c331406b 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/index_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class IndexServiceGrpc {
private IndexServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java
index d3fa589d5..af3f703bb 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/job_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class JobServiceGrpc {
private JobServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java
index 1adf925fb..227a08b25 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/metadata_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class MetadataServiceGrpc {
private MetadataServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceGrpc.java
index c05bd7925..b2a5b2d35 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/migration_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class MigrationServiceGrpc {
private MigrationServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java
index b7e79a355..70f07d031 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/model_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class ModelServiceGrpc {
private ModelServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceGrpc.java
index 768bf830d..44f405b67 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceGrpc.java
@@ -29,6 +29,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/pipeline_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PipelineServiceGrpc {
private PipelineServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceGrpc.java
index c6e89f077..f4d58a2ad 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/prediction_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PredictionServiceGrpc {
private PredictionServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceGrpc.java
index d485315d4..6dfec5f03 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceGrpc.java
@@ -32,6 +32,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/specialist_pool_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class SpecialistPoolServiceGrpc {
private SpecialistPoolServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceGrpc.java
index 6029a2536..66b4107da 100644
--- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceGrpc.java
@@ -30,6 +30,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1/vizier_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class VizierServiceGrpc {
private VizierServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceGrpc.java
index 6fa09c8bf..cae10119f 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/dataset_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class DatasetServiceGrpc {
private DatasetServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceGrpc.java
index de543a4fd..248340f15 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/endpoint_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class EndpointServiceGrpc {
private EndpointServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java
index 0d0d5c947..cdc61ecef 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class FeaturestoreOnlineServingServiceGrpc {
private FeaturestoreOnlineServingServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceGrpc.java
index fb0e70c03..294ca0a6f 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/featurestore_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class FeaturestoreServiceGrpc {
private FeaturestoreServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceGrpc.java
index ebbe0e985..d9272feb2 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/index_endpoint_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class IndexEndpointServiceGrpc {
private IndexEndpointServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java
index be461f97a..c8bff54dd 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/index_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class IndexServiceGrpc {
private IndexServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java
index 752d263d2..602b52b63 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/job_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class JobServiceGrpc {
private JobServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java
index 58defaadf..f37066bcb 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/metadata_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class MetadataServiceGrpc {
private MetadataServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceGrpc.java
index 0fbaf7320..286eeea50 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/migration_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class MigrationServiceGrpc {
private MigrationServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java
index 3c1993313..44ae1bf76 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/model_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class ModelServiceGrpc {
private ModelServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceGrpc.java
index 25533716a..be4b84e67 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceGrpc.java
@@ -29,6 +29,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/pipeline_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PipelineServiceGrpc {
private PipelineServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceGrpc.java
index 10abf8f45..a0637458d 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/prediction_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PredictionServiceGrpc {
private PredictionServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceGrpc.java
index e2ab08699..ff063c1bb 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceGrpc.java
@@ -32,6 +32,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/specialist_pool_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class SpecialistPoolServiceGrpc {
private SpecialistPoolServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceGrpc.java
index ac7e805b6..6380389b1 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceGrpc.java
@@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/tensorboard_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class TensorboardServiceGrpc {
private TensorboardServiceGrpc() {}
diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceGrpc.java
index e505f8fc4..0a7237957 100644
--- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceGrpc.java
+++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceGrpc.java
@@ -30,6 +30,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/aiplatform/v1beta1/vizier_service.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class VizierServiceGrpc {
private VizierServiceGrpc() {}
From d35a84686fd5b7769d410b9371e235d42d81c01b Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Wed, 1 Dec 2021 09:32:31 -0800
Subject: [PATCH 21/23] feat: tensorboard v1 protos release (#723)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* feat:Tensorboard v1 protos release feat:Exposing a field for v1 CustomJob-Tensorboard integration.
PiperOrigin-RevId: 410304645
Source-Link: https://github.com/googleapis/googleapis/commit/bd7db057c691b758881745ea2249c96588bee52e
Source-Link: https://github.com/googleapis/googleapis-gen/commit/66432ef8d9314e5d305f55747f1c07f37708151e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjY0MzJlZjhkOTMxNGU1ZDMwNWY1NTc0N2YxYzA3ZjM3NzA4MTUxZSJ9
* 🦉 Updates from OwlBot
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot
---
.../v1/TensorboardServiceClient.java | 4211 +++++++++++++++++
.../v1/TensorboardServiceSettings.java | 648 +++
.../cloud/aiplatform/v1/gapic_metadata.json | 93 +
.../cloud/aiplatform/v1/package-info.java | 13 +
...GrpcTensorboardServiceCallableFactory.java | 113 +
.../v1/stub/GrpcTensorboardServiceStub.java | 1388 ++++++
.../v1/stub/TensorboardServiceStub.java | 312 ++
.../stub/TensorboardServiceStubSettings.java | 1792 +++++++
.../aiplatform/v1/MockTensorboardService.java | 59 +
.../v1/MockTensorboardServiceImpl.java | 666 +++
.../v1/TensorboardServiceClientTest.java | 2576 ++++++++++
.../aiplatform/v1/TensorboardServiceGrpc.java | 3813 +++++++++++++++
.../v1/BatchCreateTensorboardRunsRequest.java | 1270 +++++
...CreateTensorboardRunsRequestOrBuilder.java | 130 +
.../BatchCreateTensorboardRunsResponse.java | 973 ++++
...reateTensorboardRunsResponseOrBuilder.java | 77 +
...tchCreateTensorboardTimeSeriesRequest.java | 1297 +++++
...TensorboardTimeSeriesRequestOrBuilder.java | 136 +
...chCreateTensorboardTimeSeriesResponse.java | 1013 ++++
...ensorboardTimeSeriesResponseOrBuilder.java | 84 +
...hReadTensorboardTimeSeriesDataRequest.java | 1019 ++++
...orboardTimeSeriesDataRequestOrBuilder.java | 125 +
...ReadTensorboardTimeSeriesDataResponse.java | 986 ++++
...rboardTimeSeriesDataResponseOrBuilder.java | 77 +
.../CreateTensorboardExperimentRequest.java | 1161 +++++
...TensorboardExperimentRequestOrBuilder.java | 124 +
.../CreateTensorboardOperationMetadata.java | 751 +++
...TensorboardOperationMetadataOrBuilder.java | 60 +
.../v1/CreateTensorboardRequest.java | 960 ++++
.../v1/CreateTensorboardRequestOrBuilder.java | 97 +
.../v1/CreateTensorboardRunRequest.java | 1167 +++++
.../CreateTensorboardRunRequestOrBuilder.java | 130 +
.../CreateTensorboardTimeSeriesRequest.java | 1192 +++++
...TensorboardTimeSeriesRequestOrBuilder.java | 132 +
.../cloud/aiplatform/v1/CustomJobProto.java | 55 +-
.../cloud/aiplatform/v1/CustomJobSpec.java | 214 +
.../aiplatform/v1/CustomJobSpecOrBuilder.java | 35 +
.../DeleteTensorboardExperimentRequest.java | 675 +++
...TensorboardExperimentRequestOrBuilder.java | 58 +
.../v1/DeleteTensorboardRequest.java | 665 +++
.../v1/DeleteTensorboardRequestOrBuilder.java | 58 +
.../v1/DeleteTensorboardRunRequest.java | 665 +++
.../DeleteTensorboardRunRequestOrBuilder.java | 58 +
.../DeleteTensorboardTimeSeriesRequest.java | 675 +++
...TensorboardTimeSeriesRequestOrBuilder.java | 58 +
...xportTensorboardTimeSeriesDataRequest.java | 1362 ++++++
...orboardTimeSeriesDataRequestOrBuilder.java | 162 +
...portTensorboardTimeSeriesDataResponse.java | 1200 +++++
...rboardTimeSeriesDataResponseOrBuilder.java | 112 +
.../v1/GetTensorboardExperimentRequest.java | 672 +++
...TensorboardExperimentRequestOrBuilder.java | 58 +
.../aiplatform/v1/GetTensorboardRequest.java | 664 +++
.../v1/GetTensorboardRequestOrBuilder.java | 58 +
.../v1/GetTensorboardRunRequest.java | 665 +++
.../v1/GetTensorboardRunRequestOrBuilder.java | 58 +
.../v1/GetTensorboardTimeSeriesRequest.java | 672 +++
...TensorboardTimeSeriesRequestOrBuilder.java | 58 +
.../v1/ListTensorboardExperimentsRequest.java | 1615 +++++++
...ensorboardExperimentsRequestOrBuilder.java | 194 +
.../ListTensorboardExperimentsResponse.java | 1200 +++++
...nsorboardExperimentsResponseOrBuilder.java | 113 +
.../v1/ListTensorboardRunsRequest.java | 1607 +++++++
.../ListTensorboardRunsRequestOrBuilder.java | 194 +
.../v1/ListTensorboardRunsResponse.java | 1156 +++++
.../ListTensorboardRunsResponseOrBuilder.java | 106 +
.../v1/ListTensorboardTimeSeriesRequest.java | 1615 +++++++
...TensorboardTimeSeriesRequestOrBuilder.java | 194 +
.../v1/ListTensorboardTimeSeriesResponse.java | 1197 +++++
...ensorboardTimeSeriesResponseOrBuilder.java | 113 +
.../v1/ListTensorboardsRequest.java | 1607 +++++++
.../v1/ListTensorboardsRequestOrBuilder.java | 194 +
.../v1/ListTensorboardsResponse.java | 1146 +++++
.../v1/ListTensorboardsResponseOrBuilder.java | 106 +
.../v1/ReadTensorboardBlobDataRequest.java | 950 ++++
...adTensorboardBlobDataRequestOrBuilder.java | 109 +
.../v1/ReadTensorboardBlobDataResponse.java | 958 ++++
...dTensorboardBlobDataResponseOrBuilder.java | 77 +
.../ReadTensorboardTimeSeriesDataRequest.java | 955 ++++
...orboardTimeSeriesDataRequestOrBuilder.java | 98 +
...ReadTensorboardTimeSeriesDataResponse.java | 748 +++
...rboardTimeSeriesDataResponseOrBuilder.java | 60 +
.../google/cloud/aiplatform/v1/Scalar.java | 545 +++
.../cloud/aiplatform/v1/ScalarOrBuilder.java | 38 +
.../cloud/aiplatform/v1/Tensorboard.java | 2777 +++++++++++
.../cloud/aiplatform/v1/TensorboardBlob.java | 739 +++
.../v1/TensorboardBlobOrBuilder.java | 66 +
.../v1/TensorboardBlobSequence.java | 953 ++++
.../v1/TensorboardBlobSequenceOrBuilder.java | 77 +
.../aiplatform/v1/TensorboardDataProto.java | 163 +
.../aiplatform/v1/TensorboardExperiment.java | 2406 ++++++++++
.../v1/TensorboardExperimentName.java | 270 ++
.../v1/TensorboardExperimentOrBuilder.java | 341 ++
.../v1/TensorboardExperimentProto.java | 119 +
.../cloud/aiplatform/v1/TensorboardName.java | 227 +
.../aiplatform/v1/TensorboardOrBuilder.java | 382 ++
.../cloud/aiplatform/v1/TensorboardProto.java | 123 +
.../cloud/aiplatform/v1/TensorboardRun.java | 2272 +++++++++
.../aiplatform/v1/TensorboardRunName.java | 298 ++
.../v1/TensorboardRunOrBuilder.java | 335 ++
.../aiplatform/v1/TensorboardRunProto.java | 111 +
.../v1/TensorboardServiceProto.java | 951 ++++
.../aiplatform/v1/TensorboardTensor.java | 644 +++
.../v1/TensorboardTensorOrBuilder.java | 52 +
.../aiplatform/v1/TensorboardTimeSeries.java | 3754 +++++++++++++++
.../v1/TensorboardTimeSeriesName.java | 338 ++
.../v1/TensorboardTimeSeriesOrBuilder.java | 317 ++
.../v1/TensorboardTimeSeriesProto.java | 129 +
.../cloud/aiplatform/v1/TimeSeriesData.java | 1365 ++++++
.../v1/TimeSeriesDataOrBuilder.java | 145 +
.../aiplatform/v1/TimeSeriesDataPoint.java | 1807 +++++++
.../v1/TimeSeriesDataPointOrBuilder.java | 180 +
.../UpdateTensorboardExperimentRequest.java | 1145 +++++
...TensorboardExperimentRequestOrBuilder.java | 125 +
.../UpdateTensorboardOperationMetadata.java | 751 +++
...TensorboardOperationMetadataOrBuilder.java | 60 +
.../v1/UpdateTensorboardRequest.java | 1127 +++++
.../v1/UpdateTensorboardRequestOrBuilder.java | 125 +
.../v1/UpdateTensorboardRunRequest.java | 1127 +++++
.../UpdateTensorboardRunRequestOrBuilder.java | 125 +
.../UpdateTensorboardTimeSeriesRequest.java | 1157 +++++
...TensorboardTimeSeriesRequestOrBuilder.java | 128 +
...WriteTensorboardExperimentDataRequest.java | 1247 +++++
...orboardExperimentDataRequestOrBuilder.java | 122 +
...riteTensorboardExperimentDataResponse.java | 470 ++
...rboardExperimentDataResponseOrBuilder.java | 24 +
.../v1/WriteTensorboardRunDataRequest.java | 1312 +++++
...iteTensorboardRunDataRequestOrBuilder.java | 140 +
.../v1/WriteTensorboardRunDataResponse.java | 464 ++
...teTensorboardRunDataResponseOrBuilder.java | 24 +
.../cloud/aiplatform/v1/custom_job.proto | 11 +
.../cloud/aiplatform/v1/tensorboard.proto | 87 +
.../aiplatform/v1/tensorboard_data.proto | 102 +
.../v1/tensorboard_experiment.proto | 79 +
.../cloud/aiplatform/v1/tensorboard_run.proto | 82 +
.../aiplatform/v1/tensorboard_service.proto | 1006 ++++
.../v1/tensorboard_time_series.proto | 107 +
136 files changed, 86959 insertions(+), 26 deletions(-)
create mode 100644 google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java
create mode 100644 google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java
create mode 100644 google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcTensorboardServiceCallableFactory.java
create mode 100644 google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcTensorboardServiceStub.java
create mode 100644 google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStub.java
create mode 100644 google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java
create mode 100644 google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockTensorboardService.java
create mode 100644 google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockTensorboardServiceImpl.java
create mode 100644 google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/TensorboardServiceClientTest.java
create mode 100644 grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceGrpc.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardRunsRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardRunsRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardRunsResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardRunsResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardTimeSeriesRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardTimeSeriesRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardTimeSeriesResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchCreateTensorboardTimeSeriesResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchReadTensorboardTimeSeriesDataRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchReadTensorboardTimeSeriesDataRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchReadTensorboardTimeSeriesDataResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchReadTensorboardTimeSeriesDataResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardExperimentRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardExperimentRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardOperationMetadata.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardOperationMetadataOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardRunRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardRunRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardTimeSeriesRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateTensorboardTimeSeriesRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardExperimentRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardExperimentRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRunRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRunRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardTimeSeriesRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardTimeSeriesRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardExperimentRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardExperimentRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRunRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRunRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardTimeSeriesRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardTimeSeriesRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardExperimentsRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardExperimentsRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardExperimentsResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardExperimentsResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardRunsRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardRunsRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardRunsResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardRunsResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardTimeSeriesRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardTimeSeriesRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardTimeSeriesResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardTimeSeriesResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardsRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardsRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardsResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTensorboardsResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardBlobDataRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardBlobDataRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardBlobDataResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardBlobDataResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardTimeSeriesDataRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardTimeSeriesDataRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardTimeSeriesDataResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardTimeSeriesDataResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scalar.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScalarOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Tensorboard.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardBlob.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardBlobOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardBlobSequence.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardBlobSequenceOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperiment.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentName.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardName.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRun.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunName.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTensor.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTensorOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeries.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesName.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TimeSeriesData.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TimeSeriesDataOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TimeSeriesDataPoint.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TimeSeriesDataPointOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardExperimentRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardExperimentRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardOperationMetadata.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardOperationMetadataOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardRunRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardRunRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardTimeSeriesRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateTensorboardTimeSeriesRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardExperimentDataRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardExperimentDataRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardExperimentDataResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardExperimentDataResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardRunDataRequest.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardRunDataRequestOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardRunDataResponse.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/WriteTensorboardRunDataResponseOrBuilder.java
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto
create mode 100644 proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java
new file mode 100644
index 000000000..aa401c669
--- /dev/null
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java
@@ -0,0 +1,4211 @@
+/*
+ * Copyright 2021 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.aiplatform.v1;
+
+import com.google.api.core.ApiFuture;
+import com.google.api.core.ApiFutures;
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.longrunning.OperationFuture;
+import com.google.api.gax.paging.AbstractFixedSizeCollection;
+import com.google.api.gax.paging.AbstractPage;
+import com.google.api.gax.paging.AbstractPagedListResponse;
+import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.PageContext;
+import com.google.api.gax.rpc.ServerStreamingCallable;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.aiplatform.v1.stub.TensorboardServiceStub;
+import com.google.cloud.aiplatform.v1.stub.TensorboardServiceStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
+import com.google.longrunning.Operation;
+import com.google.longrunning.OperationsClient;
+import com.google.protobuf.Empty;
+import com.google.protobuf.FieldMask;
+import java.io.IOException;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Service Description: TensorboardService
+ *
+ * This class provides the ability to make remote calls to the backing service through method
+ * calls that map to API methods. Sample code to get started:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
+ * Tensorboard response = tensorboardServiceClient.getTensorboard(name);
+ * }
+ * }
+ *
+ * Note: close() needs to be called on the TensorboardServiceClient object to clean up resources
+ * such as threads. In the example above, try-with-resources is used, which automatically calls
+ * close().
+ *
+ *
The surface of this class includes several types of Java methods for each of the API's
+ * methods:
+ *
+ *
+ * - A "flattened" method. With this type of method, the fields of the request type have been
+ * converted into function parameters. It may be the case that not all fields are available as
+ * parameters, and not every API method will have a flattened method entry point.
+ *
- A "request object" method. This type of method only takes one parameter, a request object,
+ * which must be constructed before the call. Not every API method will have a request object
+ * method.
+ *
- A "callable" method. This type of method takes no parameters and returns an immutable API
+ * callable object, which can be used to initiate calls to the service.
+ *
+ *
+ * See the individual methods for example code.
+ *
+ *
Many parameters require resource names to be formatted in a particular way. To assist with
+ * these names, this class includes a format method for each type of name, and additionally a parse
+ * method to extract the individual identifiers contained within names that are returned.
+ *
+ *
This class can be customized by passing in a custom instance of TensorboardServiceSettings to
+ * create(). For example:
+ *
+ *
To customize credentials:
+ *
+ *
{@code
+ * TensorboardServiceSettings tensorboardServiceSettings =
+ * TensorboardServiceSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * TensorboardServiceClient tensorboardServiceClient =
+ * TensorboardServiceClient.create(tensorboardServiceSettings);
+ * }
+ *
+ * To customize the endpoint:
+ *
+ *
{@code
+ * TensorboardServiceSettings tensorboardServiceSettings =
+ * TensorboardServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * TensorboardServiceClient tensorboardServiceClient =
+ * TensorboardServiceClient.create(tensorboardServiceSettings);
+ * }
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets.
+ */
+@Generated("by gapic-generator-java")
+public class TensorboardServiceClient implements BackgroundResource {
+ private final TensorboardServiceSettings settings;
+ private final TensorboardServiceStub stub;
+ private final OperationsClient operationsClient;
+
+ /** Constructs an instance of TensorboardServiceClient with default settings. */
+ public static final TensorboardServiceClient create() throws IOException {
+ return create(TensorboardServiceSettings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of TensorboardServiceClient, using the given settings. The channels are
+ * created based on the settings passed in, or defaults for any settings that are not set.
+ */
+ public static final TensorboardServiceClient create(TensorboardServiceSettings settings)
+ throws IOException {
+ return new TensorboardServiceClient(settings);
+ }
+
+ /**
+ * Constructs an instance of TensorboardServiceClient, using the given stub for making calls. This
+ * is for advanced usage - prefer using create(TensorboardServiceSettings).
+ */
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ public static final TensorboardServiceClient create(TensorboardServiceStub stub) {
+ return new TensorboardServiceClient(stub);
+ }
+
+ /**
+ * Constructs an instance of TensorboardServiceClient, using the given settings. This is protected
+ * so that it is easy to make a subclass, but otherwise, the static factory methods should be
+ * preferred.
+ */
+ protected TensorboardServiceClient(TensorboardServiceSettings settings) throws IOException {
+ this.settings = settings;
+ this.stub = ((TensorboardServiceStubSettings) settings.getStubSettings()).createStub();
+ this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
+ }
+
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ protected TensorboardServiceClient(TensorboardServiceStub stub) {
+ this.settings = null;
+ this.stub = stub;
+ this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
+ }
+
+ public final TensorboardServiceSettings getSettings() {
+ return settings;
+ }
+
+ @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
+ public TensorboardServiceStub getStub() {
+ return stub;
+ }
+
+ /**
+ * Returns the OperationsClient that can be used to query the status of a long-running operation
+ * returned by another API method call.
+ */
+ public final OperationsClient getOperationsClient() {
+ return operationsClient;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Tensorboard.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardName parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
+ * Tensorboard tensorboard = Tensorboard.newBuilder().build();
+ * Tensorboard response =
+ * tensorboardServiceClient.createTensorboardAsync(parent, tensorboard).get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to create the Tensorboard in. Format:
+ * `projects/{project}/locations/{location}`
+ * @param tensorboard Required. The Tensorboard to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture
+ createTensorboardAsync(TensorboardName parent, Tensorboard tensorboard) {
+ CreateTensorboardRequest request =
+ CreateTensorboardRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setTensorboard(tensorboard)
+ .build();
+ return createTensorboardAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
+ * Tensorboard tensorboard = Tensorboard.newBuilder().build();
+ * Tensorboard response =
+ * tensorboardServiceClient.createTensorboardAsync(parent, tensorboard).get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to create the Tensorboard in. Format:
+ * `projects/{project}/locations/{location}`
+ * @param tensorboard Required. The Tensorboard to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture
+ createTensorboardAsync(String parent, Tensorboard tensorboard) {
+ CreateTensorboardRequest request =
+ CreateTensorboardRequest.newBuilder().setParent(parent).setTensorboard(tensorboard).build();
+ return createTensorboardAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardRequest request =
+ * CreateTensorboardRequest.newBuilder()
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setTensorboard(Tensorboard.newBuilder().build())
+ * .build();
+ * Tensorboard response = tensorboardServiceClient.createTensorboardAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture
+ createTensorboardAsync(CreateTensorboardRequest request) {
+ return createTensorboardOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardRequest request =
+ * CreateTensorboardRequest.newBuilder()
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setTensorboard(Tensorboard.newBuilder().build())
+ * .build();
+ * OperationFuture future =
+ * tensorboardServiceClient.createTensorboardOperationCallable().futureCall(request);
+ * // Do something.
+ * Tensorboard response = future.get();
+ * }
+ * }
+ */
+ public final OperationCallable<
+ CreateTensorboardRequest, Tensorboard, CreateTensorboardOperationMetadata>
+ createTensorboardOperationCallable() {
+ return stub.createTensorboardOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardRequest request =
+ * CreateTensorboardRequest.newBuilder()
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setTensorboard(Tensorboard.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.createTensorboardCallable().futureCall(request);
+ * // Do something.
+ * Operation response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable createTensorboardCallable() {
+ return stub.createTensorboardCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
+ * Tensorboard response = tensorboardServiceClient.getTensorboard(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Tensorboard resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Tensorboard getTensorboard(TensorboardName name) {
+ GetTensorboardRequest request =
+ GetTensorboardRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getTensorboard(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
+ * Tensorboard response = tensorboardServiceClient.getTensorboard(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Tensorboard resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Tensorboard getTensorboard(String name) {
+ GetTensorboardRequest request = GetTensorboardRequest.newBuilder().setName(name).build();
+ return getTensorboard(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardRequest request =
+ * GetTensorboardRequest.newBuilder()
+ * .setName(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .build();
+ * Tensorboard response = tensorboardServiceClient.getTensorboard(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Tensorboard getTensorboard(GetTensorboardRequest request) {
+ return getTensorboardCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardRequest request =
+ * GetTensorboardRequest.newBuilder()
+ * .setName(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.getTensorboardCallable().futureCall(request);
+ * // Do something.
+ * Tensorboard response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getTensorboardCallable() {
+ return stub.getTensorboardCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * Tensorboard tensorboard = Tensorboard.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * Tensorboard response =
+ * tensorboardServiceClient.updateTensorboardAsync(tensorboard, updateMask).get();
+ * }
+ * }
+ *
+ * @param tensorboard Required. The Tensorboard's `name` field is used to identify the Tensorboard
+ * to be updated. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ * @param updateMask Required. Field mask is used to specify the fields to be overwritten in the
+ * Tensorboard resource by the update. The fields specified in the update_mask are relative to
+ * the resource, not the full request. A field will be overwritten if it is in the mask. If
+ * the user does not provide a mask then all fields will be overwritten if new values are
+ * specified.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture
+ updateTensorboardAsync(Tensorboard tensorboard, FieldMask updateMask) {
+ UpdateTensorboardRequest request =
+ UpdateTensorboardRequest.newBuilder()
+ .setTensorboard(tensorboard)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateTensorboardAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardRequest request =
+ * UpdateTensorboardRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboard(Tensorboard.newBuilder().build())
+ * .build();
+ * Tensorboard response = tensorboardServiceClient.updateTensorboardAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture
+ updateTensorboardAsync(UpdateTensorboardRequest request) {
+ return updateTensorboardOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardRequest request =
+ * UpdateTensorboardRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboard(Tensorboard.newBuilder().build())
+ * .build();
+ * OperationFuture future =
+ * tensorboardServiceClient.updateTensorboardOperationCallable().futureCall(request);
+ * // Do something.
+ * Tensorboard response = future.get();
+ * }
+ * }
+ */
+ public final OperationCallable<
+ UpdateTensorboardRequest, Tensorboard, UpdateTensorboardOperationMetadata>
+ updateTensorboardOperationCallable() {
+ return stub.updateTensorboardOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardRequest request =
+ * UpdateTensorboardRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboard(Tensorboard.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.updateTensorboardCallable().futureCall(request);
+ * // Do something.
+ * Operation response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable updateTensorboardCallable() {
+ return stub.updateTensorboardCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Tensorboards in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (Tensorboard element : tensorboardServiceClient.listTensorboards(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list Tensorboards. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardsPagedResponse listTensorboards(LocationName parent) {
+ ListTensorboardsRequest request =
+ ListTensorboardsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listTensorboards(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Tensorboards in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (Tensorboard element : tensorboardServiceClient.listTensorboards(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list Tensorboards. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardsPagedResponse listTensorboards(String parent) {
+ ListTensorboardsRequest request =
+ ListTensorboardsRequest.newBuilder().setParent(parent).build();
+ return listTensorboards(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Tensorboards in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardsRequest request =
+ * ListTensorboardsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * for (Tensorboard element : tensorboardServiceClient.listTensorboards(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequest request) {
+ return listTensorboardsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Tensorboards in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardsRequest request =
+ * ListTensorboardsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.listTensorboardsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Tensorboard element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listTensorboardsPagedCallable() {
+ return stub.listTensorboardsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Tensorboards in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardsRequest request =
+ * ListTensorboardsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * while (true) {
+ * ListTensorboardsResponse response =
+ * tensorboardServiceClient.listTensorboardsCallable().call(request);
+ * for (Tensorboard element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listTensorboardsCallable() {
+ return stub.listTensorboardsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
+ * tensorboardServiceClient.deleteTensorboardAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the Tensorboard to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardAsync(
+ TensorboardName name) {
+ DeleteTensorboardRequest request =
+ DeleteTensorboardRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return deleteTensorboardAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
+ * tensorboardServiceClient.deleteTensorboardAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the Tensorboard to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardAsync(String name) {
+ DeleteTensorboardRequest request = DeleteTensorboardRequest.newBuilder().setName(name).build();
+ return deleteTensorboardAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardRequest request =
+ * DeleteTensorboardRequest.newBuilder()
+ * .setName(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .build();
+ * tensorboardServiceClient.deleteTensorboardAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardAsync(
+ DeleteTensorboardRequest request) {
+ return deleteTensorboardOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardRequest request =
+ * DeleteTensorboardRequest.newBuilder()
+ * .setName(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .build();
+ * OperationFuture future =
+ * tensorboardServiceClient.deleteTensorboardOperationCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final OperationCallable
+ deleteTensorboardOperationCallable() {
+ return stub.deleteTensorboardOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a Tensorboard.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardRequest request =
+ * DeleteTensorboardRequest.newBuilder()
+ * .setName(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.deleteTensorboardCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable deleteTensorboardCallable() {
+ return stub.deleteTensorboardCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperimentName parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
+ * TensorboardExperiment tensorboardExperiment = TensorboardExperiment.newBuilder().build();
+ * String tensorboardExperimentId = "tensorboardExperimentId1267328197";
+ * TensorboardExperiment response =
+ * tensorboardServiceClient.createTensorboardExperiment(
+ * parent, tensorboardExperiment, tensorboardExperimentId);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Tensorboard to create the
+ * TensorboardExperiment in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ * @param tensorboardExperiment The TensorboardExperiment to create.
+ * @param tensorboardExperimentId Required. The ID to use for the Tensorboard experiment, which
+ * will become the final component of the Tensorboard experiment's resource name.
+ * This value should be 1-128 characters, and valid characters are /[a-z][0-9]-/.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment createTensorboardExperiment(
+ TensorboardExperimentName parent,
+ TensorboardExperiment tensorboardExperiment,
+ String tensorboardExperimentId) {
+ CreateTensorboardExperimentRequest request =
+ CreateTensorboardExperimentRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setTensorboardExperiment(tensorboardExperiment)
+ .setTensorboardExperimentId(tensorboardExperimentId)
+ .build();
+ return createTensorboardExperiment(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardExperiment.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString();
+ * TensorboardExperiment tensorboardExperiment = TensorboardExperiment.newBuilder().build();
+ * String tensorboardExperimentId = "tensorboardExperimentId1267328197";
+ * TensorboardExperiment response =
+ * tensorboardServiceClient.createTensorboardExperiment(
+ * parent, tensorboardExperiment, tensorboardExperimentId);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Tensorboard to create the
+ * TensorboardExperiment in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ * @param tensorboardExperiment The TensorboardExperiment to create.
+ * @param tensorboardExperimentId Required. The ID to use for the Tensorboard experiment, which
+ * will become the final component of the Tensorboard experiment's resource name.
+ * This value should be 1-128 characters, and valid characters are /[a-z][0-9]-/.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment createTensorboardExperiment(
+ String parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) {
+ CreateTensorboardExperimentRequest request =
+ CreateTensorboardExperimentRequest.newBuilder()
+ .setParent(parent)
+ .setTensorboardExperiment(tensorboardExperiment)
+ .setTensorboardExperimentId(tensorboardExperimentId)
+ .build();
+ return createTensorboardExperiment(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardExperiment.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardExperimentRequest request =
+ * CreateTensorboardExperimentRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .setTensorboardExperiment(TensorboardExperiment.newBuilder().build())
+ * .setTensorboardExperimentId("tensorboardExperimentId1267328197")
+ * .build();
+ * TensorboardExperiment response =
+ * tensorboardServiceClient.createTensorboardExperiment(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment createTensorboardExperiment(
+ CreateTensorboardExperimentRequest request) {
+ return createTensorboardExperimentCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardExperimentRequest request =
+ * CreateTensorboardExperimentRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .setTensorboardExperiment(TensorboardExperiment.newBuilder().build())
+ * .setTensorboardExperimentId("tensorboardExperimentId1267328197")
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.createTensorboardExperimentCallable().futureCall(request);
+ * // Do something.
+ * TensorboardExperiment response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ createTensorboardExperimentCallable() {
+ return stub.createTensorboardExperimentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperimentName name =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
+ * TensorboardExperiment response = tensorboardServiceClient.getTensorboardExperiment(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardExperiment resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment getTensorboardExperiment(TensorboardExperimentName name) {
+ GetTensorboardExperimentRequest request =
+ GetTensorboardExperimentRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getTensorboardExperiment(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString();
+ * TensorboardExperiment response = tensorboardServiceClient.getTensorboardExperiment(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardExperiment resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment getTensorboardExperiment(String name) {
+ GetTensorboardExperimentRequest request =
+ GetTensorboardExperimentRequest.newBuilder().setName(name).build();
+ return getTensorboardExperiment(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardExperimentRequest request =
+ * GetTensorboardExperimentRequest.newBuilder()
+ * .setName(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .build();
+ * TensorboardExperiment response = tensorboardServiceClient.getTensorboardExperiment(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment getTensorboardExperiment(
+ GetTensorboardExperimentRequest request) {
+ return getTensorboardExperimentCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardExperimentRequest request =
+ * GetTensorboardExperimentRequest.newBuilder()
+ * .setName(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.getTensorboardExperimentCallable().futureCall(request);
+ * // Do something.
+ * TensorboardExperiment response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ getTensorboardExperimentCallable() {
+ return stub.getTensorboardExperimentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperiment tensorboardExperiment = TensorboardExperiment.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * TensorboardExperiment response =
+ * tensorboardServiceClient.updateTensorboardExperiment(tensorboardExperiment, updateMask);
+ * }
+ * }
+ *
+ * @param tensorboardExperiment Required. The TensorboardExperiment's `name` field is used to
+ * identify the TensorboardExperiment to be updated. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @param updateMask Required. Field mask is used to specify the fields to be overwritten in the
+ * TensorboardExperiment resource by the update. The fields specified in the update_mask are
+ * relative to the resource, not the full request. A field will be overwritten if it is in the
+ * mask. If the user does not provide a mask then all fields will be overwritten if new values
+ * are specified.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment updateTensorboardExperiment(
+ TensorboardExperiment tensorboardExperiment, FieldMask updateMask) {
+ UpdateTensorboardExperimentRequest request =
+ UpdateTensorboardExperimentRequest.newBuilder()
+ .setTensorboardExperiment(tensorboardExperiment)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateTensorboardExperiment(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardExperimentRequest request =
+ * UpdateTensorboardExperimentRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboardExperiment(TensorboardExperiment.newBuilder().build())
+ * .build();
+ * TensorboardExperiment response =
+ * tensorboardServiceClient.updateTensorboardExperiment(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardExperiment updateTensorboardExperiment(
+ UpdateTensorboardExperimentRequest request) {
+ return updateTensorboardExperimentCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardExperimentRequest request =
+ * UpdateTensorboardExperimentRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboardExperiment(TensorboardExperiment.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.updateTensorboardExperimentCallable().futureCall(request);
+ * // Do something.
+ * TensorboardExperiment response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ updateTensorboardExperimentCallable() {
+ return stub.updateTensorboardExperimentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardExperiments in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardName parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
+ * for (TensorboardExperiment element :
+ * tensorboardServiceClient.listTensorboardExperiments(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Tensorboard to list TensorboardExperiments.
+ * Format: 'projects/{project}/locations/{location}/tensorboards/{tensorboard}'
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
+ TensorboardName parent) {
+ ListTensorboardExperimentsRequest request =
+ ListTensorboardExperimentsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listTensorboardExperiments(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardExperiments in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
+ * for (TensorboardExperiment element :
+ * tensorboardServiceClient.listTensorboardExperiments(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Tensorboard to list TensorboardExperiments.
+ * Format: 'projects/{project}/locations/{location}/tensorboards/{tensorboard}'
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(String parent) {
+ ListTensorboardExperimentsRequest request =
+ ListTensorboardExperimentsRequest.newBuilder().setParent(parent).build();
+ return listTensorboardExperiments(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardExperiments in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardExperimentsRequest request =
+ * ListTensorboardExperimentsRequest.newBuilder()
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * for (TensorboardExperiment element :
+ * tensorboardServiceClient.listTensorboardExperiments(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
+ ListTensorboardExperimentsRequest request) {
+ return listTensorboardExperimentsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardExperiments in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardExperimentsRequest request =
+ * ListTensorboardExperimentsRequest.newBuilder()
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.listTensorboardExperimentsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (TensorboardExperiment element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ListTensorboardExperimentsRequest, ListTensorboardExperimentsPagedResponse>
+ listTensorboardExperimentsPagedCallable() {
+ return stub.listTensorboardExperimentsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardExperiments in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardExperimentsRequest request =
+ * ListTensorboardExperimentsRequest.newBuilder()
+ * .setParent(TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * while (true) {
+ * ListTensorboardExperimentsResponse response =
+ * tensorboardServiceClient.listTensorboardExperimentsCallable().call(request);
+ * for (TensorboardExperiment element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listTensorboardExperimentsCallable() {
+ return stub.listTensorboardExperimentsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperimentName name =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
+ * tensorboardServiceClient.deleteTensorboardExperimentAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardExperiment to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardExperimentAsync(
+ TensorboardExperimentName name) {
+ DeleteTensorboardExperimentRequest request =
+ DeleteTensorboardExperimentRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return deleteTensorboardExperimentAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString();
+ * tensorboardServiceClient.deleteTensorboardExperimentAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardExperiment to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardExperimentAsync(
+ String name) {
+ DeleteTensorboardExperimentRequest request =
+ DeleteTensorboardExperimentRequest.newBuilder().setName(name).build();
+ return deleteTensorboardExperimentAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardExperimentRequest request =
+ * DeleteTensorboardExperimentRequest.newBuilder()
+ * .setName(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .build();
+ * tensorboardServiceClient.deleteTensorboardExperimentAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardExperimentAsync(
+ DeleteTensorboardExperimentRequest request) {
+ return deleteTensorboardExperimentOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardExperimentRequest request =
+ * DeleteTensorboardExperimentRequest.newBuilder()
+ * .setName(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .build();
+ * OperationFuture future =
+ * tensorboardServiceClient
+ * .deleteTensorboardExperimentOperationCallable()
+ * .futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final OperationCallable
+ deleteTensorboardExperimentOperationCallable() {
+ return stub.deleteTensorboardExperimentOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardExperimentRequest request =
+ * DeleteTensorboardExperimentRequest.newBuilder()
+ * .setName(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.deleteTensorboardExperimentCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ deleteTensorboardExperimentCallable() {
+ return stub.deleteTensorboardExperimentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardRunName parent =
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]");
+ * TensorboardRun tensorboardRun = TensorboardRun.newBuilder().build();
+ * String tensorboardRunId = "tensorboardRunId-407822631";
+ * TensorboardRun response =
+ * tensorboardServiceClient.createTensorboardRun(parent, tensorboardRun, tensorboardRunId);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to create the
+ * TensorboardRun in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @param tensorboardRun Required. The TensorboardRun to create.
+ * @param tensorboardRunId Required. The ID to use for the Tensorboard run, which will become the
+ * final component of the Tensorboard run's resource name.
+ * This value should be 1-128 characters, and valid characters are /[a-z][0-9]-/.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun createTensorboardRun(
+ TensorboardRunName parent, TensorboardRun tensorboardRun, String tensorboardRunId) {
+ CreateTensorboardRunRequest request =
+ CreateTensorboardRunRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setTensorboardRun(tensorboardRun)
+ .setTensorboardRunId(tensorboardRunId)
+ .build();
+ return createTensorboardRun(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardRun.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent =
+ * TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString();
+ * TensorboardRun tensorboardRun = TensorboardRun.newBuilder().build();
+ * String tensorboardRunId = "tensorboardRunId-407822631";
+ * TensorboardRun response =
+ * tensorboardServiceClient.createTensorboardRun(parent, tensorboardRun, tensorboardRunId);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to create the
+ * TensorboardRun in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @param tensorboardRun Required. The TensorboardRun to create.
+ * @param tensorboardRunId Required. The ID to use for the Tensorboard run, which will become the
+ * final component of the Tensorboard run's resource name.
+ * This value should be 1-128 characters, and valid characters are /[a-z][0-9]-/.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun createTensorboardRun(
+ String parent, TensorboardRun tensorboardRun, String tensorboardRunId) {
+ CreateTensorboardRunRequest request =
+ CreateTensorboardRunRequest.newBuilder()
+ .setParent(parent)
+ .setTensorboardRun(tensorboardRun)
+ .setTensorboardRunId(tensorboardRunId)
+ .build();
+ return createTensorboardRun(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardRun.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardRunRequest request =
+ * CreateTensorboardRunRequest.newBuilder()
+ * .setParent(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .setTensorboardRun(TensorboardRun.newBuilder().build())
+ * .setTensorboardRunId("tensorboardRunId-407822631")
+ * .build();
+ * TensorboardRun response = tensorboardServiceClient.createTensorboardRun(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun createTensorboardRun(CreateTensorboardRunRequest request) {
+ return createTensorboardRunCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardRunRequest request =
+ * CreateTensorboardRunRequest.newBuilder()
+ * .setParent(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .setTensorboardRun(TensorboardRun.newBuilder().build())
+ * .setTensorboardRunId("tensorboardRunId-407822631")
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.createTensorboardRunCallable().futureCall(request);
+ * // Do something.
+ * TensorboardRun response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ createTensorboardRunCallable() {
+ return stub.createTensorboardRunCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardRuns.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperimentName parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
+ * List requests = new ArrayList<>();
+ * BatchCreateTensorboardRunsResponse response =
+ * tensorboardServiceClient.batchCreateTensorboardRuns(parent, requests);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to create the
+ * TensorboardRuns in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * The parent field in the CreateTensorboardRunRequest messages must match this field.
+ * @param requests Required. The request message specifying the TensorboardRuns to create. A
+ * maximum of 1000 TensorboardRuns can be created in a batch.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
+ TensorboardExperimentName parent, List requests) {
+ BatchCreateTensorboardRunsRequest request =
+ BatchCreateTensorboardRunsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .addAllRequests(requests)
+ .build();
+ return batchCreateTensorboardRuns(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardRuns.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString();
+ * List requests = new ArrayList<>();
+ * BatchCreateTensorboardRunsResponse response =
+ * tensorboardServiceClient.batchCreateTensorboardRuns(parent, requests);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to create the
+ * TensorboardRuns in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * The parent field in the CreateTensorboardRunRequest messages must match this field.
+ * @param requests Required. The request message specifying the TensorboardRuns to create. A
+ * maximum of 1000 TensorboardRuns can be created in a batch.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
+ String parent, List requests) {
+ BatchCreateTensorboardRunsRequest request =
+ BatchCreateTensorboardRunsRequest.newBuilder()
+ .setParent(parent)
+ .addAllRequests(requests)
+ .build();
+ return batchCreateTensorboardRuns(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardRuns.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * BatchCreateTensorboardRunsRequest request =
+ * BatchCreateTensorboardRunsRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * BatchCreateTensorboardRunsResponse response =
+ * tensorboardServiceClient.batchCreateTensorboardRuns(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
+ BatchCreateTensorboardRunsRequest request) {
+ return batchCreateTensorboardRunsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardRuns.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * BatchCreateTensorboardRunsRequest request =
+ * BatchCreateTensorboardRunsRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.batchCreateTensorboardRunsCallable().futureCall(request);
+ * // Do something.
+ * BatchCreateTensorboardRunsResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ batchCreateTensorboardRunsCallable() {
+ return stub.batchCreateTensorboardRunsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardRunName name =
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]");
+ * TensorboardRun response = tensorboardServiceClient.getTensorboardRun(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardRun resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun getTensorboardRun(TensorboardRunName name) {
+ GetTensorboardRunRequest request =
+ GetTensorboardRunRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getTensorboardRun(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name =
+ * TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString();
+ * TensorboardRun response = tensorboardServiceClient.getTensorboardRun(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardRun resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun getTensorboardRun(String name) {
+ GetTensorboardRunRequest request = GetTensorboardRunRequest.newBuilder().setName(name).build();
+ return getTensorboardRun(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardRunRequest request =
+ * GetTensorboardRunRequest.newBuilder()
+ * .setName(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .build();
+ * TensorboardRun response = tensorboardServiceClient.getTensorboardRun(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun getTensorboardRun(GetTensorboardRunRequest request) {
+ return getTensorboardRunCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardRunRequest request =
+ * GetTensorboardRunRequest.newBuilder()
+ * .setName(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.getTensorboardRunCallable().futureCall(request);
+ * // Do something.
+ * TensorboardRun response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getTensorboardRunCallable() {
+ return stub.getTensorboardRunCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardRun tensorboardRun = TensorboardRun.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * TensorboardRun response =
+ * tensorboardServiceClient.updateTensorboardRun(tensorboardRun, updateMask);
+ * }
+ * }
+ *
+ * @param tensorboardRun Required. The TensorboardRun's `name` field is used to identify the
+ * TensorboardRun to be updated. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @param updateMask Required. Field mask is used to specify the fields to be overwritten in the
+ * TensorboardRun resource by the update. The fields specified in the update_mask are relative
+ * to the resource, not the full request. A field will be overwritten if it is in the mask. If
+ * the user does not provide a mask then all fields will be overwritten if new values are
+ * specified.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun updateTensorboardRun(
+ TensorboardRun tensorboardRun, FieldMask updateMask) {
+ UpdateTensorboardRunRequest request =
+ UpdateTensorboardRunRequest.newBuilder()
+ .setTensorboardRun(tensorboardRun)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateTensorboardRun(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardRunRequest request =
+ * UpdateTensorboardRunRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboardRun(TensorboardRun.newBuilder().build())
+ * .build();
+ * TensorboardRun response = tensorboardServiceClient.updateTensorboardRun(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardRun updateTensorboardRun(UpdateTensorboardRunRequest request) {
+ return updateTensorboardRunCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardRunRequest request =
+ * UpdateTensorboardRunRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboardRun(TensorboardRun.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.updateTensorboardRunCallable().futureCall(request);
+ * // Do something.
+ * TensorboardRun response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ updateTensorboardRunCallable() {
+ return stub.updateTensorboardRunCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardRuns in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperimentName parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
+ * for (TensorboardRun element :
+ * tensorboardServiceClient.listTensorboardRuns(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to list TensorboardRuns.
+ * Format:
+ * 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}'
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
+ TensorboardExperimentName parent) {
+ ListTensorboardRunsRequest request =
+ ListTensorboardRunsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listTensorboardRuns(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardRuns in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString();
+ * for (TensorboardRun element :
+ * tensorboardServiceClient.listTensorboardRuns(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to list TensorboardRuns.
+ * Format:
+ * 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}'
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardRunsPagedResponse listTensorboardRuns(String parent) {
+ ListTensorboardRunsRequest request =
+ ListTensorboardRunsRequest.newBuilder().setParent(parent).build();
+ return listTensorboardRuns(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardRuns in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardRunsRequest request =
+ * ListTensorboardRunsRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * for (TensorboardRun element :
+ * tensorboardServiceClient.listTensorboardRuns(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
+ ListTensorboardRunsRequest request) {
+ return listTensorboardRunsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardRuns in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardRunsRequest request =
+ * ListTensorboardRunsRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.listTensorboardRunsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (TensorboardRun element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listTensorboardRunsPagedCallable() {
+ return stub.listTensorboardRunsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardRuns in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardRunsRequest request =
+ * ListTensorboardRunsRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * while (true) {
+ * ListTensorboardRunsResponse response =
+ * tensorboardServiceClient.listTensorboardRunsCallable().call(request);
+ * for (TensorboardRun element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listTensorboardRunsCallable() {
+ return stub.listTensorboardRunsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardRunName name =
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]");
+ * tensorboardServiceClient.deleteTensorboardRunAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardRun to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardRunAsync(
+ TensorboardRunName name) {
+ DeleteTensorboardRunRequest request =
+ DeleteTensorboardRunRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return deleteTensorboardRunAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name =
+ * TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString();
+ * tensorboardServiceClient.deleteTensorboardRunAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardRun to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardRunAsync(
+ String name) {
+ DeleteTensorboardRunRequest request =
+ DeleteTensorboardRunRequest.newBuilder().setName(name).build();
+ return deleteTensorboardRunAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardRunRequest request =
+ * DeleteTensorboardRunRequest.newBuilder()
+ * .setName(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .build();
+ * tensorboardServiceClient.deleteTensorboardRunAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardRunAsync(
+ DeleteTensorboardRunRequest request) {
+ return deleteTensorboardRunOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardRunRequest request =
+ * DeleteTensorboardRunRequest.newBuilder()
+ * .setName(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .build();
+ * OperationFuture future =
+ * tensorboardServiceClient.deleteTensorboardRunOperationCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final OperationCallable
+ deleteTensorboardRunOperationCallable() {
+ return stub.deleteTensorboardRunOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardRun.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardRunRequest request =
+ * DeleteTensorboardRunRequest.newBuilder()
+ * .setName(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.deleteTensorboardRunCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ deleteTensorboardRunCallable() {
+ return stub.deleteTensorboardRunCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperimentName parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
+ * List requests = new ArrayList<>();
+ * BatchCreateTensorboardTimeSeriesResponse response =
+ * tensorboardServiceClient.batchCreateTensorboardTimeSeries(parent, requests);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to create the
+ * TensorboardTimeSeries in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * The TensorboardRuns referenced by the parent fields in the
+ * CreateTensorboardTimeSeriesRequest messages must be sub resources of this
+ * TensorboardExperiment.
+ * @param requests Required. The request message specifying the TensorboardTimeSeries to create. A
+ * maximum of 1000 TensorboardTimeSeries can be created in a batch.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTimeSeries(
+ TensorboardExperimentName parent, List requests) {
+ BatchCreateTensorboardTimeSeriesRequest request =
+ BatchCreateTensorboardTimeSeriesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .addAllRequests(requests)
+ .build();
+ return batchCreateTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString();
+ * List requests = new ArrayList<>();
+ * BatchCreateTensorboardTimeSeriesResponse response =
+ * tensorboardServiceClient.batchCreateTensorboardTimeSeries(parent, requests);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardExperiment to create the
+ * TensorboardTimeSeries in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * The TensorboardRuns referenced by the parent fields in the
+ * CreateTensorboardTimeSeriesRequest messages must be sub resources of this
+ * TensorboardExperiment.
+ * @param requests Required. The request message specifying the TensorboardTimeSeries to create. A
+ * maximum of 1000 TensorboardTimeSeries can be created in a batch.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTimeSeries(
+ String parent, List requests) {
+ BatchCreateTensorboardTimeSeriesRequest request =
+ BatchCreateTensorboardTimeSeriesRequest.newBuilder()
+ .setParent(parent)
+ .addAllRequests(requests)
+ .build();
+ return batchCreateTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * BatchCreateTensorboardTimeSeriesRequest request =
+ * BatchCreateTensorboardTimeSeriesRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * BatchCreateTensorboardTimeSeriesResponse response =
+ * tensorboardServiceClient.batchCreateTensorboardTimeSeries(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTimeSeries(
+ BatchCreateTensorboardTimeSeriesRequest request) {
+ return batchCreateTensorboardTimeSeriesCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * BatchCreateTensorboardTimeSeriesRequest request =
+ * BatchCreateTensorboardTimeSeriesRequest.newBuilder()
+ * .setParent(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.batchCreateTensorboardTimeSeriesCallable().futureCall(request);
+ * // Do something.
+ * BatchCreateTensorboardTimeSeriesResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ BatchCreateTensorboardTimeSeriesRequest, BatchCreateTensorboardTimeSeriesResponse>
+ batchCreateTensorboardTimeSeriesCallable() {
+ return stub.batchCreateTensorboardTimeSeriesCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardTimeSeriesName parent =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]", "[TIME_SERIES]");
+ * TensorboardTimeSeries tensorboardTimeSeries = TensorboardTimeSeries.newBuilder().build();
+ * TensorboardTimeSeries response =
+ * tensorboardServiceClient.createTensorboardTimeSeries(parent, tensorboardTimeSeries);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardRun to create the
+ * TensorboardTimeSeries in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @param tensorboardTimeSeries Required. The TensorboardTimeSeries to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries createTensorboardTimeSeries(
+ TensorboardTimeSeriesName parent, TensorboardTimeSeries tensorboardTimeSeries) {
+ CreateTensorboardTimeSeriesRequest request =
+ CreateTensorboardTimeSeriesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setTensorboardTimeSeries(tensorboardTimeSeries)
+ .build();
+ return createTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString();
+ * TensorboardTimeSeries tensorboardTimeSeries = TensorboardTimeSeries.newBuilder().build();
+ * TensorboardTimeSeries response =
+ * tensorboardServiceClient.createTensorboardTimeSeries(parent, tensorboardTimeSeries);
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardRun to create the
+ * TensorboardTimeSeries in. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @param tensorboardTimeSeries Required. The TensorboardTimeSeries to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries createTensorboardTimeSeries(
+ String parent, TensorboardTimeSeries tensorboardTimeSeries) {
+ CreateTensorboardTimeSeriesRequest request =
+ CreateTensorboardTimeSeriesRequest.newBuilder()
+ .setParent(parent)
+ .setTensorboardTimeSeries(tensorboardTimeSeries)
+ .build();
+ return createTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardTimeSeriesRequest request =
+ * CreateTensorboardTimeSeriesRequest.newBuilder()
+ * .setParent(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .setTensorboardTimeSeriesId("tensorboardTimeSeriesId-913380692")
+ * .setTensorboardTimeSeries(TensorboardTimeSeries.newBuilder().build())
+ * .build();
+ * TensorboardTimeSeries response =
+ * tensorboardServiceClient.createTensorboardTimeSeries(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries createTensorboardTimeSeries(
+ CreateTensorboardTimeSeriesRequest request) {
+ return createTensorboardTimeSeriesCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * CreateTensorboardTimeSeriesRequest request =
+ * CreateTensorboardTimeSeriesRequest.newBuilder()
+ * .setParent(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .setTensorboardTimeSeriesId("tensorboardTimeSeriesId-913380692")
+ * .setTensorboardTimeSeries(TensorboardTimeSeries.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.createTensorboardTimeSeriesCallable().futureCall(request);
+ * // Do something.
+ * TensorboardTimeSeries response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ createTensorboardTimeSeriesCallable() {
+ return stub.createTensorboardTimeSeriesCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardTimeSeriesName name =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]", "[TIME_SERIES]");
+ * TensorboardTimeSeries response = tensorboardServiceClient.getTensorboardTimeSeries(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardTimeSeries resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries getTensorboardTimeSeries(TensorboardTimeSeriesName name) {
+ GetTensorboardTimeSeriesRequest request =
+ GetTensorboardTimeSeriesRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString();
+ * TensorboardTimeSeries response = tensorboardServiceClient.getTensorboardTimeSeries(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardTimeSeries resource. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries getTensorboardTimeSeries(String name) {
+ GetTensorboardTimeSeriesRequest request =
+ GetTensorboardTimeSeriesRequest.newBuilder().setName(name).build();
+ return getTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardTimeSeriesRequest request =
+ * GetTensorboardTimeSeriesRequest.newBuilder()
+ * .setName(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .build();
+ * TensorboardTimeSeries response = tensorboardServiceClient.getTensorboardTimeSeries(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries getTensorboardTimeSeries(
+ GetTensorboardTimeSeriesRequest request) {
+ return getTensorboardTimeSeriesCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * GetTensorboardTimeSeriesRequest request =
+ * GetTensorboardTimeSeriesRequest.newBuilder()
+ * .setName(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.getTensorboardTimeSeriesCallable().futureCall(request);
+ * // Do something.
+ * TensorboardTimeSeries response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ getTensorboardTimeSeriesCallable() {
+ return stub.getTensorboardTimeSeriesCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardTimeSeries tensorboardTimeSeries = TensorboardTimeSeries.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * TensorboardTimeSeries response =
+ * tensorboardServiceClient.updateTensorboardTimeSeries(tensorboardTimeSeries, updateMask);
+ * }
+ * }
+ *
+ * @param tensorboardTimeSeries Required. The TensorboardTimeSeries' `name` field is used to
+ * identify the TensorboardTimeSeries to be updated. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @param updateMask Required. Field mask is used to specify the fields to be overwritten in the
+ * TensorboardTimeSeries resource by the update. The fields specified in the update_mask are
+ * relative to the resource, not the full request. A field will be overwritten if it is in the
+ * mask. If the user does not provide a mask then all fields will be overwritten if new values
+ * are specified.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries updateTensorboardTimeSeries(
+ TensorboardTimeSeries tensorboardTimeSeries, FieldMask updateMask) {
+ UpdateTensorboardTimeSeriesRequest request =
+ UpdateTensorboardTimeSeriesRequest.newBuilder()
+ .setTensorboardTimeSeries(tensorboardTimeSeries)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardTimeSeriesRequest request =
+ * UpdateTensorboardTimeSeriesRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboardTimeSeries(TensorboardTimeSeries.newBuilder().build())
+ * .build();
+ * TensorboardTimeSeries response =
+ * tensorboardServiceClient.updateTensorboardTimeSeries(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TensorboardTimeSeries updateTensorboardTimeSeries(
+ UpdateTensorboardTimeSeriesRequest request) {
+ return updateTensorboardTimeSeriesCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * UpdateTensorboardTimeSeriesRequest request =
+ * UpdateTensorboardTimeSeriesRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setTensorboardTimeSeries(TensorboardTimeSeries.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.updateTensorboardTimeSeriesCallable().futureCall(request);
+ * // Do something.
+ * TensorboardTimeSeries response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ updateTensorboardTimeSeriesCallable() {
+ return stub.updateTensorboardTimeSeriesCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardTimeSeries in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardRunName parent =
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]");
+ * for (TensorboardTimeSeries element :
+ * tensorboardServiceClient.listTensorboardTimeSeries(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardRun to list TensorboardTimeSeries.
+ * Format:
+ * 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}'
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
+ TensorboardRunName parent) {
+ ListTensorboardTimeSeriesRequest request =
+ ListTensorboardTimeSeriesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardTimeSeries in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String parent =
+ * TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString();
+ * for (TensorboardTimeSeries element :
+ * tensorboardServiceClient.listTensorboardTimeSeries(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the TensorboardRun to list TensorboardTimeSeries.
+ * Format:
+ * 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}'
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(String parent) {
+ ListTensorboardTimeSeriesRequest request =
+ ListTensorboardTimeSeriesRequest.newBuilder().setParent(parent).build();
+ return listTensorboardTimeSeries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardTimeSeries in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardTimeSeriesRequest request =
+ * ListTensorboardTimeSeriesRequest.newBuilder()
+ * .setParent(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * for (TensorboardTimeSeries element :
+ * tensorboardServiceClient.listTensorboardTimeSeries(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
+ ListTensorboardTimeSeriesRequest request) {
+ return listTensorboardTimeSeriesPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardTimeSeries in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardTimeSeriesRequest request =
+ * ListTensorboardTimeSeriesRequest.newBuilder()
+ * .setParent(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.listTensorboardTimeSeriesPagedCallable().futureCall(request);
+ * // Do something.
+ * for (TensorboardTimeSeries element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ListTensorboardTimeSeriesRequest, ListTensorboardTimeSeriesPagedResponse>
+ listTensorboardTimeSeriesPagedCallable() {
+ return stub.listTensorboardTimeSeriesPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists TensorboardTimeSeries in a Location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ListTensorboardTimeSeriesRequest request =
+ * ListTensorboardTimeSeriesRequest.newBuilder()
+ * .setParent(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .setReadMask(FieldMask.newBuilder().build())
+ * .build();
+ * while (true) {
+ * ListTensorboardTimeSeriesResponse response =
+ * tensorboardServiceClient.listTensorboardTimeSeriesCallable().call(request);
+ * for (TensorboardTimeSeries element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listTensorboardTimeSeriesCallable() {
+ return stub.listTensorboardTimeSeriesCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardTimeSeriesName name =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]", "[TIME_SERIES]");
+ * tensorboardServiceClient.deleteTensorboardTimeSeriesAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardTimeSeries to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardTimeSeriesAsync(
+ TensorboardTimeSeriesName name) {
+ DeleteTensorboardTimeSeriesRequest request =
+ DeleteTensorboardTimeSeriesRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return deleteTensorboardTimeSeriesAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String name =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString();
+ * tensorboardServiceClient.deleteTensorboardTimeSeriesAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the TensorboardTimeSeries to be deleted. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardTimeSeriesAsync(
+ String name) {
+ DeleteTensorboardTimeSeriesRequest request =
+ DeleteTensorboardTimeSeriesRequest.newBuilder().setName(name).build();
+ return deleteTensorboardTimeSeriesAsync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardTimeSeriesRequest request =
+ * DeleteTensorboardTimeSeriesRequest.newBuilder()
+ * .setName(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .build();
+ * tensorboardServiceClient.deleteTensorboardTimeSeriesAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture deleteTensorboardTimeSeriesAsync(
+ DeleteTensorboardTimeSeriesRequest request) {
+ return deleteTensorboardTimeSeriesOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardTimeSeriesRequest request =
+ * DeleteTensorboardTimeSeriesRequest.newBuilder()
+ * .setName(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .build();
+ * OperationFuture future =
+ * tensorboardServiceClient
+ * .deleteTensorboardTimeSeriesOperationCallable()
+ * .futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final OperationCallable
+ deleteTensorboardTimeSeriesOperationCallable() {
+ return stub.deleteTensorboardTimeSeriesOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a TensorboardTimeSeries.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * DeleteTensorboardTimeSeriesRequest request =
+ * DeleteTensorboardTimeSeriesRequest.newBuilder()
+ * .setName(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.deleteTensorboardTimeSeriesCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ deleteTensorboardTimeSeriesCallable() {
+ return stub.deleteTensorboardTimeSeriesCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars,
+ * 100 for tensors and blob references. If the number of data points stored is less than the
+ * limit, all data will be returned. Otherwise, that limit number of data points will be randomly
+ * selected from this time series and returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardName tensorboard = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
+ * BatchReadTensorboardTimeSeriesDataResponse response =
+ * tensorboardServiceClient.batchReadTensorboardTimeSeriesData(tensorboard);
+ * }
+ * }
+ *
+ * @param tensorboard Required. The resource name of the Tensorboard containing
+ * TensorboardTimeSeries to read data from. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The
+ * TensorboardTimeSeries referenced by
+ * [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series]
+ * must be sub resources of this Tensorboard.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTimeSeriesData(
+ TensorboardName tensorboard) {
+ BatchReadTensorboardTimeSeriesDataRequest request =
+ BatchReadTensorboardTimeSeriesDataRequest.newBuilder()
+ .setTensorboard(tensorboard == null ? null : tensorboard.toString())
+ .build();
+ return batchReadTensorboardTimeSeriesData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars,
+ * 100 for tensors and blob references. If the number of data points stored is less than the
+ * limit, all data will be returned. Otherwise, that limit number of data points will be randomly
+ * selected from this time series and returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String tensorboard =
+ * TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
+ * BatchReadTensorboardTimeSeriesDataResponse response =
+ * tensorboardServiceClient.batchReadTensorboardTimeSeriesData(tensorboard);
+ * }
+ * }
+ *
+ * @param tensorboard Required. The resource name of the Tensorboard containing
+ * TensorboardTimeSeries to read data from. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The
+ * TensorboardTimeSeries referenced by
+ * [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series]
+ * must be sub resources of this Tensorboard.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTimeSeriesData(
+ String tensorboard) {
+ BatchReadTensorboardTimeSeriesDataRequest request =
+ BatchReadTensorboardTimeSeriesDataRequest.newBuilder().setTensorboard(tensorboard).build();
+ return batchReadTensorboardTimeSeriesData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars,
+ * 100 for tensors and blob references. If the number of data points stored is less than the
+ * limit, all data will be returned. Otherwise, that limit number of data points will be randomly
+ * selected from this time series and returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * BatchReadTensorboardTimeSeriesDataRequest request =
+ * BatchReadTensorboardTimeSeriesDataRequest.newBuilder()
+ * .setTensorboard(
+ * TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .addAllTimeSeries(new ArrayList())
+ * .build();
+ * BatchReadTensorboardTimeSeriesDataResponse response =
+ * tensorboardServiceClient.batchReadTensorboardTimeSeriesData(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTimeSeriesData(
+ BatchReadTensorboardTimeSeriesDataRequest request) {
+ return batchReadTensorboardTimeSeriesDataCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars,
+ * 100 for tensors and blob references. If the number of data points stored is less than the
+ * limit, all data will be returned. Otherwise, that limit number of data points will be randomly
+ * selected from this time series and returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * BatchReadTensorboardTimeSeriesDataRequest request =
+ * BatchReadTensorboardTimeSeriesDataRequest.newBuilder()
+ * .setTensorboard(
+ * TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString())
+ * .addAllTimeSeries(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.batchReadTensorboardTimeSeriesDataCallable().futureCall(request);
+ * // Do something.
+ * BatchReadTensorboardTimeSeriesDataResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ BatchReadTensorboardTimeSeriesDataRequest, BatchReadTensorboardTimeSeriesDataResponse>
+ batchReadTensorboardTimeSeriesDataCallable() {
+ return stub.batchReadTensorboardTimeSeriesDataCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less
+ * than 1000, all data will be returned. Otherwise, 1000 data points will be randomly selected
+ * from this time series and returned. This value can be changed by changing max_data_points,
+ * which can't be greater than 10k.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardTimeSeriesName tensorboardTimeSeries =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]", "[TIME_SERIES]");
+ * ReadTensorboardTimeSeriesDataResponse response =
+ * tensorboardServiceClient.readTensorboardTimeSeriesData(tensorboardTimeSeries);
+ * }
+ * }
+ *
+ * @param tensorboardTimeSeries Required. The resource name of the TensorboardTimeSeries to read
+ * data from. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData(
+ TensorboardTimeSeriesName tensorboardTimeSeries) {
+ ReadTensorboardTimeSeriesDataRequest request =
+ ReadTensorboardTimeSeriesDataRequest.newBuilder()
+ .setTensorboardTimeSeries(
+ tensorboardTimeSeries == null ? null : tensorboardTimeSeries.toString())
+ .build();
+ return readTensorboardTimeSeriesData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less
+ * than 1000, all data will be returned. Otherwise, 1000 data points will be randomly selected
+ * from this time series and returned. This value can be changed by changing max_data_points,
+ * which can't be greater than 10k.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String tensorboardTimeSeries =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString();
+ * ReadTensorboardTimeSeriesDataResponse response =
+ * tensorboardServiceClient.readTensorboardTimeSeriesData(tensorboardTimeSeries);
+ * }
+ * }
+ *
+ * @param tensorboardTimeSeries Required. The resource name of the TensorboardTimeSeries to read
+ * data from. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData(
+ String tensorboardTimeSeries) {
+ ReadTensorboardTimeSeriesDataRequest request =
+ ReadTensorboardTimeSeriesDataRequest.newBuilder()
+ .setTensorboardTimeSeries(tensorboardTimeSeries)
+ .build();
+ return readTensorboardTimeSeriesData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less
+ * than 1000, all data will be returned. Otherwise, 1000 data points will be randomly selected
+ * from this time series and returned. This value can be changed by changing max_data_points,
+ * which can't be greater than 10k.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ReadTensorboardTimeSeriesDataRequest request =
+ * ReadTensorboardTimeSeriesDataRequest.newBuilder()
+ * .setTensorboardTimeSeries(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .setMaxDataPoints(724001981)
+ * .setFilter("filter-1274492040")
+ * .build();
+ * ReadTensorboardTimeSeriesDataResponse response =
+ * tensorboardServiceClient.readTensorboardTimeSeriesData(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData(
+ ReadTensorboardTimeSeriesDataRequest request) {
+ return readTensorboardTimeSeriesDataCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less
+ * than 1000, all data will be returned. Otherwise, 1000 data points will be randomly selected
+ * from this time series and returned. This value can be changed by changing max_data_points,
+ * which can't be greater than 10k.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ReadTensorboardTimeSeriesDataRequest request =
+ * ReadTensorboardTimeSeriesDataRequest.newBuilder()
+ * .setTensorboardTimeSeries(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .setMaxDataPoints(724001981)
+ * .setFilter("filter-1274492040")
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.readTensorboardTimeSeriesDataCallable().futureCall(request);
+ * // Do something.
+ * ReadTensorboardTimeSeriesDataResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ReadTensorboardTimeSeriesDataRequest, ReadTensorboardTimeSeriesDataResponse>
+ readTensorboardTimeSeriesDataCallable() {
+ return stub.readTensorboardTimeSeriesDataCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's
+ * Cloud Storage bucket without users having to obtain Cloud Storage access permission.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ReadTensorboardBlobDataRequest request =
+ * ReadTensorboardBlobDataRequest.newBuilder()
+ * .setTimeSeries(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .addAllBlobIds(new ArrayList())
+ * .build();
+ * ServerStream stream =
+ * tensorboardServiceClient.readTensorboardBlobDataCallable().call(request);
+ * for (ReadTensorboardBlobDataResponse response : stream) {
+ * // Do something when a response is received.
+ * }
+ * }
+ * }
+ */
+ public final ServerStreamingCallable<
+ ReadTensorboardBlobDataRequest, ReadTensorboardBlobDataResponse>
+ readTensorboardBlobDataCallable() {
+ return stub.readTensorboardBlobDataCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's.
+ * If any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardExperimentName tensorboardExperiment =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
+ * List writeRunDataRequests = new ArrayList<>();
+ * WriteTensorboardExperimentDataResponse response =
+ * tensorboardServiceClient.writeTensorboardExperimentData(
+ * tensorboardExperiment, writeRunDataRequests);
+ * }
+ * }
+ *
+ * @param tensorboardExperiment Required. The resource name of the TensorboardExperiment to write
+ * data to. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @param writeRunDataRequests Required. Requests containing per-run TensorboardTimeSeries data to
+ * write.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentData(
+ TensorboardExperimentName tensorboardExperiment,
+ List writeRunDataRequests) {
+ WriteTensorboardExperimentDataRequest request =
+ WriteTensorboardExperimentDataRequest.newBuilder()
+ .setTensorboardExperiment(
+ tensorboardExperiment == null ? null : tensorboardExperiment.toString())
+ .addAllWriteRunDataRequests(writeRunDataRequests)
+ .build();
+ return writeTensorboardExperimentData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's.
+ * If any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String tensorboardExperiment =
+ * TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString();
+ * List writeRunDataRequests = new ArrayList<>();
+ * WriteTensorboardExperimentDataResponse response =
+ * tensorboardServiceClient.writeTensorboardExperimentData(
+ * tensorboardExperiment, writeRunDataRequests);
+ * }
+ * }
+ *
+ * @param tensorboardExperiment Required. The resource name of the TensorboardExperiment to write
+ * data to. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
+ * @param writeRunDataRequests Required. Requests containing per-run TensorboardTimeSeries data to
+ * write.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentData(
+ String tensorboardExperiment, List writeRunDataRequests) {
+ WriteTensorboardExperimentDataRequest request =
+ WriteTensorboardExperimentDataRequest.newBuilder()
+ .setTensorboardExperiment(tensorboardExperiment)
+ .addAllWriteRunDataRequests(writeRunDataRequests)
+ .build();
+ return writeTensorboardExperimentData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's.
+ * If any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * WriteTensorboardExperimentDataRequest request =
+ * WriteTensorboardExperimentDataRequest.newBuilder()
+ * .setTensorboardExperiment(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .addAllWriteRunDataRequests(new ArrayList())
+ * .build();
+ * WriteTensorboardExperimentDataResponse response =
+ * tensorboardServiceClient.writeTensorboardExperimentData(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentData(
+ WriteTensorboardExperimentDataRequest request) {
+ return writeTensorboardExperimentDataCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's.
+ * If any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * WriteTensorboardExperimentDataRequest request =
+ * WriteTensorboardExperimentDataRequest.newBuilder()
+ * .setTensorboardExperiment(
+ * TensorboardExperimentName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
+ * .toString())
+ * .addAllWriteRunDataRequests(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.writeTensorboardExperimentDataCallable().futureCall(request);
+ * // Do something.
+ * WriteTensorboardExperimentDataResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ WriteTensorboardExperimentDataRequest, WriteTensorboardExperimentDataResponse>
+ writeTensorboardExperimentDataCallable() {
+ return stub.writeTensorboardExperimentDataCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If
+ * any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardRunName tensorboardRun =
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]");
+ * List timeSeriesData = new ArrayList<>();
+ * WriteTensorboardRunDataResponse response =
+ * tensorboardServiceClient.writeTensorboardRunData(tensorboardRun, timeSeriesData);
+ * }
+ * }
+ *
+ * @param tensorboardRun Required. The resource name of the TensorboardRun to write data to.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @param timeSeriesData Required. The TensorboardTimeSeries data to write. Values with in a time
+ * series are indexed by their step value. Repeated writes to the same step will overwrite the
+ * existing value for that step. The upper limit of data points per write request is 5000.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
+ TensorboardRunName tensorboardRun, List timeSeriesData) {
+ WriteTensorboardRunDataRequest request =
+ WriteTensorboardRunDataRequest.newBuilder()
+ .setTensorboardRun(tensorboardRun == null ? null : tensorboardRun.toString())
+ .addAllTimeSeriesData(timeSeriesData)
+ .build();
+ return writeTensorboardRunData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If
+ * any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String tensorboardRun =
+ * TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString();
+ * List timeSeriesData = new ArrayList<>();
+ * WriteTensorboardRunDataResponse response =
+ * tensorboardServiceClient.writeTensorboardRunData(tensorboardRun, timeSeriesData);
+ * }
+ * }
+ *
+ * @param tensorboardRun Required. The resource name of the TensorboardRun to write data to.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
+ * @param timeSeriesData Required. The TensorboardTimeSeries data to write. Values with in a time
+ * series are indexed by their step value. Repeated writes to the same step will overwrite the
+ * existing value for that step. The upper limit of data points per write request is 5000.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
+ String tensorboardRun, List timeSeriesData) {
+ WriteTensorboardRunDataRequest request =
+ WriteTensorboardRunDataRequest.newBuilder()
+ .setTensorboardRun(tensorboardRun)
+ .addAllTimeSeriesData(timeSeriesData)
+ .build();
+ return writeTensorboardRunData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If
+ * any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * WriteTensorboardRunDataRequest request =
+ * WriteTensorboardRunDataRequest.newBuilder()
+ * .setTensorboardRun(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .addAllTimeSeriesData(new ArrayList())
+ * .build();
+ * WriteTensorboardRunDataResponse response =
+ * tensorboardServiceClient.writeTensorboardRunData(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
+ WriteTensorboardRunDataRequest request) {
+ return writeTensorboardRunDataCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If
+ * any data fail to be ingested, an error will be returned.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * WriteTensorboardRunDataRequest request =
+ * WriteTensorboardRunDataRequest.newBuilder()
+ * .setTensorboardRun(
+ * TensorboardRunName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
+ * .toString())
+ * .addAllTimeSeriesData(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient.writeTensorboardRunDataCallable().futureCall(request);
+ * // Do something.
+ * WriteTensorboardRunDataResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ writeTensorboardRunDataCallable() {
+ return stub.writeTensorboardRunDataCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * TensorboardTimeSeriesName tensorboardTimeSeries =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]", "[TIME_SERIES]");
+ * for (TimeSeriesDataPoint element :
+ * tensorboardServiceClient
+ * .exportTensorboardTimeSeriesData(tensorboardTimeSeries)
+ * .iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param tensorboardTimeSeries Required. The resource name of the TensorboardTimeSeries to export
+ * data from. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeSeriesData(
+ TensorboardTimeSeriesName tensorboardTimeSeries) {
+ ExportTensorboardTimeSeriesDataRequest request =
+ ExportTensorboardTimeSeriesDataRequest.newBuilder()
+ .setTensorboardTimeSeries(
+ tensorboardTimeSeries == null ? null : tensorboardTimeSeries.toString())
+ .build();
+ return exportTensorboardTimeSeriesData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * String tensorboardTimeSeries =
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString();
+ * for (TimeSeriesDataPoint element :
+ * tensorboardServiceClient
+ * .exportTensorboardTimeSeriesData(tensorboardTimeSeries)
+ * .iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param tensorboardTimeSeries Required. The resource name of the TensorboardTimeSeries to export
+ * data from. Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeSeriesData(
+ String tensorboardTimeSeries) {
+ ExportTensorboardTimeSeriesDataRequest request =
+ ExportTensorboardTimeSeriesDataRequest.newBuilder()
+ .setTensorboardTimeSeries(tensorboardTimeSeries)
+ .build();
+ return exportTensorboardTimeSeriesData(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ExportTensorboardTimeSeriesDataRequest request =
+ * ExportTensorboardTimeSeriesDataRequest.newBuilder()
+ * .setTensorboardTimeSeries(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * for (TimeSeriesDataPoint element :
+ * tensorboardServiceClient.exportTensorboardTimeSeriesData(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeSeriesData(
+ ExportTensorboardTimeSeriesDataRequest request) {
+ return exportTensorboardTimeSeriesDataPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ExportTensorboardTimeSeriesDataRequest request =
+ * ExportTensorboardTimeSeriesDataRequest.newBuilder()
+ * .setTensorboardTimeSeries(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * ApiFuture future =
+ * tensorboardServiceClient
+ * .exportTensorboardTimeSeriesDataPagedCallable()
+ * .futureCall(request);
+ * // Do something.
+ * for (TimeSeriesDataPoint element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ExportTensorboardTimeSeriesDataRequest, ExportTensorboardTimeSeriesDataPagedResponse>
+ exportTensorboardTimeSeriesDataPagedCallable() {
+ return stub.exportTensorboardTimeSeriesDataPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
+ * ExportTensorboardTimeSeriesDataRequest request =
+ * ExportTensorboardTimeSeriesDataRequest.newBuilder()
+ * .setTensorboardTimeSeries(
+ * TensorboardTimeSeriesName.of(
+ * "[PROJECT]",
+ * "[LOCATION]",
+ * "[TENSORBOARD]",
+ * "[EXPERIMENT]",
+ * "[RUN]",
+ * "[TIME_SERIES]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * while (true) {
+ * ExportTensorboardTimeSeriesDataResponse response =
+ * tensorboardServiceClient.exportTensorboardTimeSeriesDataCallable().call(request);
+ * for (TimeSeriesDataPoint element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ExportTensorboardTimeSeriesDataRequest, ExportTensorboardTimeSeriesDataResponse>
+ exportTensorboardTimeSeriesDataCallable() {
+ return stub.exportTensorboardTimeSeriesDataCallable();
+ }
+
+ @Override
+ public final void close() {
+ stub.close();
+ }
+
+ @Override
+ public void shutdown() {
+ stub.shutdown();
+ }
+
+ @Override
+ public boolean isShutdown() {
+ return stub.isShutdown();
+ }
+
+ @Override
+ public boolean isTerminated() {
+ return stub.isTerminated();
+ }
+
+ @Override
+ public void shutdownNow() {
+ stub.shutdownNow();
+ }
+
+ @Override
+ public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException {
+ return stub.awaitTermination(duration, unit);
+ }
+
+ public static class ListTensorboardsPagedResponse
+ extends AbstractPagedListResponse<
+ ListTensorboardsRequest,
+ ListTensorboardsResponse,
+ Tensorboard,
+ ListTensorboardsPage,
+ ListTensorboardsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListTensorboardsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListTensorboardsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListTensorboardsPagedResponse(ListTensorboardsPage page) {
+ super(page, ListTensorboardsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListTensorboardsPage
+ extends AbstractPage<
+ ListTensorboardsRequest, ListTensorboardsResponse, Tensorboard, ListTensorboardsPage> {
+
+ private ListTensorboardsPage(
+ PageContext context,
+ ListTensorboardsResponse response) {
+ super(context, response);
+ }
+
+ private static ListTensorboardsPage createEmptyPage() {
+ return new ListTensorboardsPage(null, null);
+ }
+
+ @Override
+ protected ListTensorboardsPage createPage(
+ PageContext context,
+ ListTensorboardsResponse response) {
+ return new ListTensorboardsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListTensorboardsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListTensorboardsRequest,
+ ListTensorboardsResponse,
+ Tensorboard,
+ ListTensorboardsPage,
+ ListTensorboardsFixedSizeCollection> {
+
+ private ListTensorboardsFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListTensorboardsFixedSizeCollection createEmptyCollection() {
+ return new ListTensorboardsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListTensorboardsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListTensorboardsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListTensorboardExperimentsPagedResponse
+ extends AbstractPagedListResponse<
+ ListTensorboardExperimentsRequest,
+ ListTensorboardExperimentsResponse,
+ TensorboardExperiment,
+ ListTensorboardExperimentsPage,
+ ListTensorboardExperimentsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext<
+ ListTensorboardExperimentsRequest,
+ ListTensorboardExperimentsResponse,
+ TensorboardExperiment>
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListTensorboardExperimentsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListTensorboardExperimentsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListTensorboardExperimentsPagedResponse(ListTensorboardExperimentsPage page) {
+ super(page, ListTensorboardExperimentsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListTensorboardExperimentsPage
+ extends AbstractPage<
+ ListTensorboardExperimentsRequest,
+ ListTensorboardExperimentsResponse,
+ TensorboardExperiment,
+ ListTensorboardExperimentsPage> {
+
+ private ListTensorboardExperimentsPage(
+ PageContext<
+ ListTensorboardExperimentsRequest,
+ ListTensorboardExperimentsResponse,
+ TensorboardExperiment>
+ context,
+ ListTensorboardExperimentsResponse response) {
+ super(context, response);
+ }
+
+ private static ListTensorboardExperimentsPage createEmptyPage() {
+ return new ListTensorboardExperimentsPage(null, null);
+ }
+
+ @Override
+ protected ListTensorboardExperimentsPage createPage(
+ PageContext<
+ ListTensorboardExperimentsRequest,
+ ListTensorboardExperimentsResponse,
+ TensorboardExperiment>
+ context,
+ ListTensorboardExperimentsResponse response) {
+ return new ListTensorboardExperimentsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext<
+ ListTensorboardExperimentsRequest,
+ ListTensorboardExperimentsResponse,
+ TensorboardExperiment>
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListTensorboardExperimentsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListTensorboardExperimentsRequest,
+ ListTensorboardExperimentsResponse,
+ TensorboardExperiment,
+ ListTensorboardExperimentsPage,
+ ListTensorboardExperimentsFixedSizeCollection> {
+
+ private ListTensorboardExperimentsFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListTensorboardExperimentsFixedSizeCollection createEmptyCollection() {
+ return new ListTensorboardExperimentsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListTensorboardExperimentsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListTensorboardExperimentsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListTensorboardRunsPagedResponse
+ extends AbstractPagedListResponse<
+ ListTensorboardRunsRequest,
+ ListTensorboardRunsResponse,
+ TensorboardRun,
+ ListTensorboardRunsPage,
+ ListTensorboardRunsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListTensorboardRunsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListTensorboardRunsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListTensorboardRunsPagedResponse(ListTensorboardRunsPage page) {
+ super(page, ListTensorboardRunsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListTensorboardRunsPage
+ extends AbstractPage<
+ ListTensorboardRunsRequest,
+ ListTensorboardRunsResponse,
+ TensorboardRun,
+ ListTensorboardRunsPage> {
+
+ private ListTensorboardRunsPage(
+ PageContext
+ context,
+ ListTensorboardRunsResponse response) {
+ super(context, response);
+ }
+
+ private static ListTensorboardRunsPage createEmptyPage() {
+ return new ListTensorboardRunsPage(null, null);
+ }
+
+ @Override
+ protected ListTensorboardRunsPage createPage(
+ PageContext
+ context,
+ ListTensorboardRunsResponse response) {
+ return new ListTensorboardRunsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListTensorboardRunsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListTensorboardRunsRequest,
+ ListTensorboardRunsResponse,
+ TensorboardRun,
+ ListTensorboardRunsPage,
+ ListTensorboardRunsFixedSizeCollection> {
+
+ private ListTensorboardRunsFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListTensorboardRunsFixedSizeCollection createEmptyCollection() {
+ return new ListTensorboardRunsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListTensorboardRunsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListTensorboardRunsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListTensorboardTimeSeriesPagedResponse
+ extends AbstractPagedListResponse<
+ ListTensorboardTimeSeriesRequest,
+ ListTensorboardTimeSeriesResponse,
+ TensorboardTimeSeries,
+ ListTensorboardTimeSeriesPage,
+ ListTensorboardTimeSeriesFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext<
+ ListTensorboardTimeSeriesRequest,
+ ListTensorboardTimeSeriesResponse,
+ TensorboardTimeSeries>
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListTensorboardTimeSeriesPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListTensorboardTimeSeriesPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListTensorboardTimeSeriesPagedResponse(ListTensorboardTimeSeriesPage page) {
+ super(page, ListTensorboardTimeSeriesFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListTensorboardTimeSeriesPage
+ extends AbstractPage<
+ ListTensorboardTimeSeriesRequest,
+ ListTensorboardTimeSeriesResponse,
+ TensorboardTimeSeries,
+ ListTensorboardTimeSeriesPage> {
+
+ private ListTensorboardTimeSeriesPage(
+ PageContext<
+ ListTensorboardTimeSeriesRequest,
+ ListTensorboardTimeSeriesResponse,
+ TensorboardTimeSeries>
+ context,
+ ListTensorboardTimeSeriesResponse response) {
+ super(context, response);
+ }
+
+ private static ListTensorboardTimeSeriesPage createEmptyPage() {
+ return new ListTensorboardTimeSeriesPage(null, null);
+ }
+
+ @Override
+ protected ListTensorboardTimeSeriesPage createPage(
+ PageContext<
+ ListTensorboardTimeSeriesRequest,
+ ListTensorboardTimeSeriesResponse,
+ TensorboardTimeSeries>
+ context,
+ ListTensorboardTimeSeriesResponse response) {
+ return new ListTensorboardTimeSeriesPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext<
+ ListTensorboardTimeSeriesRequest,
+ ListTensorboardTimeSeriesResponse,
+ TensorboardTimeSeries>
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListTensorboardTimeSeriesFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListTensorboardTimeSeriesRequest,
+ ListTensorboardTimeSeriesResponse,
+ TensorboardTimeSeries,
+ ListTensorboardTimeSeriesPage,
+ ListTensorboardTimeSeriesFixedSizeCollection> {
+
+ private ListTensorboardTimeSeriesFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListTensorboardTimeSeriesFixedSizeCollection createEmptyCollection() {
+ return new ListTensorboardTimeSeriesFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListTensorboardTimeSeriesFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListTensorboardTimeSeriesFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ExportTensorboardTimeSeriesDataPagedResponse
+ extends AbstractPagedListResponse<
+ ExportTensorboardTimeSeriesDataRequest,
+ ExportTensorboardTimeSeriesDataResponse,
+ TimeSeriesDataPoint,
+ ExportTensorboardTimeSeriesDataPage,
+ ExportTensorboardTimeSeriesDataFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext<
+ ExportTensorboardTimeSeriesDataRequest,
+ ExportTensorboardTimeSeriesDataResponse,
+ TimeSeriesDataPoint>
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ExportTensorboardTimeSeriesDataPage.createEmptyPage()
+ .createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ExportTensorboardTimeSeriesDataPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ExportTensorboardTimeSeriesDataPagedResponse(ExportTensorboardTimeSeriesDataPage page) {
+ super(page, ExportTensorboardTimeSeriesDataFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ExportTensorboardTimeSeriesDataPage
+ extends AbstractPage<
+ ExportTensorboardTimeSeriesDataRequest,
+ ExportTensorboardTimeSeriesDataResponse,
+ TimeSeriesDataPoint,
+ ExportTensorboardTimeSeriesDataPage> {
+
+ private ExportTensorboardTimeSeriesDataPage(
+ PageContext<
+ ExportTensorboardTimeSeriesDataRequest,
+ ExportTensorboardTimeSeriesDataResponse,
+ TimeSeriesDataPoint>
+ context,
+ ExportTensorboardTimeSeriesDataResponse response) {
+ super(context, response);
+ }
+
+ private static ExportTensorboardTimeSeriesDataPage createEmptyPage() {
+ return new ExportTensorboardTimeSeriesDataPage(null, null);
+ }
+
+ @Override
+ protected ExportTensorboardTimeSeriesDataPage createPage(
+ PageContext<
+ ExportTensorboardTimeSeriesDataRequest,
+ ExportTensorboardTimeSeriesDataResponse,
+ TimeSeriesDataPoint>
+ context,
+ ExportTensorboardTimeSeriesDataResponse response) {
+ return new ExportTensorboardTimeSeriesDataPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext<
+ ExportTensorboardTimeSeriesDataRequest,
+ ExportTensorboardTimeSeriesDataResponse,
+ TimeSeriesDataPoint>
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ExportTensorboardTimeSeriesDataFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ExportTensorboardTimeSeriesDataRequest,
+ ExportTensorboardTimeSeriesDataResponse,
+ TimeSeriesDataPoint,
+ ExportTensorboardTimeSeriesDataPage,
+ ExportTensorboardTimeSeriesDataFixedSizeCollection> {
+
+ private ExportTensorboardTimeSeriesDataFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ExportTensorboardTimeSeriesDataFixedSizeCollection createEmptyCollection() {
+ return new ExportTensorboardTimeSeriesDataFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ExportTensorboardTimeSeriesDataFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ExportTensorboardTimeSeriesDataFixedSizeCollection(pages, collectionSize);
+ }
+ }
+}
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java
new file mode 100644
index 000000000..cdafabd38
--- /dev/null
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java
@@ -0,0 +1,648 @@
+/*
+ * Copyright 2021 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.aiplatform.v1;
+
+import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ExportTensorboardTimeSeriesDataPagedResponse;
+import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardExperimentsPagedResponse;
+import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardRunsPagedResponse;
+import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardTimeSeriesPagedResponse;
+import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardsPagedResponse;
+
+import com.google.api.core.ApiFunction;
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.GoogleCredentialsProvider;
+import com.google.api.gax.core.InstantiatingExecutorProvider;
+import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
+import com.google.api.gax.rpc.ApiClientHeaderProvider;
+import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.ClientSettings;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.ServerStreamingCallSettings;
+import com.google.api.gax.rpc.TransportChannelProvider;
+import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.cloud.aiplatform.v1.stub.TensorboardServiceStubSettings;
+import com.google.longrunning.Operation;
+import com.google.protobuf.Empty;
+import java.io.IOException;
+import java.util.List;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Settings class to configure an instance of {@link TensorboardServiceClient}.
+ *
+ * The default instance has everything set to sensible defaults:
+ *
+ *
+ * - The default service address (aiplatform.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ *
For example, to set the total timeout of getTensorboard to 30 seconds:
+ *
+ *
{@code
+ * TensorboardServiceSettings.Builder tensorboardServiceSettingsBuilder =
+ * TensorboardServiceSettings.newBuilder();
+ * tensorboardServiceSettingsBuilder
+ * .getTensorboardSettings()
+ * .setRetrySettings(
+ * tensorboardServiceSettingsBuilder
+ * .getTensorboardSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
+ * TensorboardServiceSettings tensorboardServiceSettings =
+ * tensorboardServiceSettingsBuilder.build();
+ * }
+ */
+@Generated("by gapic-generator-java")
+public class TensorboardServiceSettings extends ClientSettings {
+
+ /** Returns the object with the settings used for calls to createTensorboard. */
+ public UnaryCallSettings createTensorboardSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings()).createTensorboardSettings();
+ }
+
+ /** Returns the object with the settings used for calls to createTensorboard. */
+ public OperationCallSettings<
+ CreateTensorboardRequest, Tensorboard, CreateTensorboardOperationMetadata>
+ createTensorboardOperationSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings())
+ .createTensorboardOperationSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getTensorboard. */
+ public UnaryCallSettings getTensorboardSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings()).getTensorboardSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateTensorboard. */
+ public UnaryCallSettings updateTensorboardSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings()).updateTensorboardSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateTensorboard. */
+ public OperationCallSettings<
+ UpdateTensorboardRequest, Tensorboard, UpdateTensorboardOperationMetadata>
+ updateTensorboardOperationSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings())
+ .updateTensorboardOperationSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listTensorboards. */
+ public PagedCallSettings<
+ ListTensorboardsRequest, ListTensorboardsResponse, ListTensorboardsPagedResponse>
+ listTensorboardsSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings()).listTensorboardsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deleteTensorboard. */
+ public UnaryCallSettings deleteTensorboardSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings()).deleteTensorboardSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deleteTensorboard. */
+ public OperationCallSettings
+ deleteTensorboardOperationSettings() {
+ return ((TensorboardServiceStubSettings) getStubSettings())
+ .deleteTensorboardOperationSettings();
+ }
+
+ /** Returns the object with the settings used for calls to createTensorboardExperiment. */
+ public UnaryCallSettings